/* style/promotions.css */
.page-promotions {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #F0F2F5;
    --text-dark: #333333;
    --background-dark: #0A192F;
    --background-light: #FFFFFF;
    --accent-blue: #007bff;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark background */
    background-color: var(--background-dark);
}

.page-promotions__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary-color);
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-bottom: 30px;
}

.page-promotions__hero-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

.page-promotions__hero-image:hover {
    transform: scale(1.02);
}

.page-promotions__title {
    font-size: 2.8em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.page-promotions__subtitle {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__section:nth-of-type(even) {
    background-color: #1a2b42; /* Slightly lighter dark background */
}

.page-promotions__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: bold;
    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(--secondary-color);
    border-radius: 2px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__offer-card {
    background-color: #1a2b42; /* Card background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

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

.page-promotions__offer-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__offer-text {
    color: var(--text-light);
    font-size: 1em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__offer-details {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-promotions__offer-details li {
    color: var(--text-light);
    font-size: 0.95em;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.page-promotions__offer-details li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-promotions__card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.page-promotions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

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

.page-promotions__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-promotions__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.page-promotions__btn--center {
    margin: 40px auto 20px auto;
    display: block;
    max-width: 300px;
}

.page-promotions__link-details {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.page-promotions__link-details:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-promotions__how-to-claim {
    background-color: #0A192F;
}

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

.page-promotions__step {
    background-color: #1a2b42;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__step-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.page-promotions__step h4 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-promotions__step p {
    color: var(--text-light);
    font-size: 0.95em;
}

.page-promotions__disclaimer {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 40px;
    font-style: italic;
}

.page-promotions__why-choose-xn88 {
    background-color: #1a2b42;
}

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

.page-promotions__why-item {
    background-color: #0A192F;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 4px var(--secondary-color));
}

.page-promotions__why-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-promotions__why-item p {
    color: var(--text-light);
    font-size: 0.95em;
}

.page-promotions__final-cta {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-top: 60px;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 40px 15px;
    }

    .page-promotions__title {
        font-size: 2.2em;
    }

    .page-promotions__subtitle {
        font-size: 1em;
    }

    .page-promotions__section {
        padding: 40px 15px;
    }

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

    .page-promotions__offer-card {
        padding: 20px;
    }

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

    .page-promotions__card-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-promotions__btn {
        width: 100%;
        padding: 10px 20px;
    }

    .page-promotions__steps-container, .page-promotions__why-list {
        grid-template-columns: 1fr;
    }

    .page-promotions__step, .page-promotions__why-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__title {
        font-size: 1.8em;
    }

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

    .page-promotions__btn--center {
        max-width: 90%;
    }
}