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

/* Variables for consistent colors */
:root {
    --page-index-latest-promotions-entry-primary-color: #FFD700; /* Gold */
    --page-index-latest-promotions-entry-secondary-color: #00BFFF; /* Deep Sky Blue */
    --page-index-latest-promotions-entry-text-dark: #333333; /* Dark text for light backgrounds */
    --page-index-latest-promotions-entry-text-light: #FFFFFF; /* Light text for dark backgrounds */
    --page-index-latest-promotions-entry-background-light: #F8F8F8; /* Light background */
    --page-index-latest-promotions-entry-background-dark: #001f3f; /* Dark background, deep blue variant */
    --page-index-latest-promotions-entry-accent-gold-dark: #b39700; /* Darker gold for contrast */
    --page-index-latest-promotions-entry-accent-blue-light: #4dd2ff; /* Lighter blue for contrast */
}

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

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

.page-index-latest-promotions-entry__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-latest-promotions-entry__section:nth-child(even) {
    background-color: var(--page-index-latest-promotions-entry-background-dark);
    color: var(--page-index-latest-promotions-entry-text-light);
}

.page-index-latest-promotions-entry__section:nth-child(even) .page-index-latest-promotions-entry__section-title,
.page-index-latest-promotions-entry__section:nth-child(even) .page-index-latest-promotions-entry__promo-card-title {
    color: var(--page-index-latest-promotions-entry-primary-color);
}

.page-index-latest-promotions-entry__section:nth-child(even) .page-index-latest-promotions-entry__button--secondary {
    background-color: var(--page-index-latest-promotions-entry-primary-color);
    color: var(--page-index-latest-promotions-entry-text-dark);
}

.page-index-latest-promotions-entry__section-title {
    font-size: 2.5em;
    color: var(--page-index-latest-promotions-entry-secondary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-index-latest-promotions-entry__hero {
    background: linear-gradient(135deg, var(--page-index-latest-promotions-entry-secondary-color) 0%, var(--page-index-latest-promotions-entry-background-dark) 100%);
    color: var(--page-index-latest-promotions-entry-text-light);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.page-index-latest-promotions-entry__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

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

.page-index-latest-promotions-entry__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.8;
}

.page-index-latest-promotions-entry__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.page-index-latest-promotions-entry__button {
    display: inline-block;
    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;
    cursor: pointer;
    border: none;
}

.page-index-latest-promotions-entry__button--primary {
    background-color: var(--page-index-latest-promotions-entry-primary-color);
    color: var(--page-index-latest-promotions-entry-text-dark);
}

.page-index-latest-promotions-entry__button--primary:hover {
    background-color: var(--page-index-latest-promotions-entry-accent-gold-dark);
    transform: translateY(-3px);
}

.page-index-latest-promotions-entry__button--secondary {
    background-color: var(--page-index-latest-promotions-entry-secondary-color);
    color: var(--page-index-latest-promotions-entry-text-light);
    border: 1px solid var(--page-index-latest-promotions-entry-accent-blue-light);
}

.page-index-latest-promotions-entry__button--secondary:hover {
    background-color: var(--page-index-latest-promotions-entry-accent-blue-light);
    transform: translateY(-3px);
}

.page-index-latest-promotions-entry__intro p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-index-latest-promotions-entry-text-dark);
}

.page-index-latest-promotions-entry__intro .highlight {
    color: var(--page-index-latest-promotions-entry-secondary-color);
    font-weight: bold;
}

.page-index-latest-promotions-entry__section:nth-child(even) .page-index-latest-promotions-entry__intro .highlight {
    color: var(--page-index-latest-promotions-entry-primary-color);
}

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

.page-index-latest-promotions-entry__promo-card {
    background-color: var(--page-index-latest-promotions-entry-text-light);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--page-index-latest-promotions-entry-text-dark);
}

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

.page-index-latest-promotions-entry__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--page-index-latest-promotions-entry-primary-color);
}

.page-index-latest-promotions-entry__promo-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-index-latest-promotions-entry__promo-card-content p {
    font-size: 1em;
    margin-bottom: 15px;
}

.page-index-latest-promotions-entry__promo-card-content .page-index-latest-promotions-entry__button {
    align-self: flex-start;
    margin-top: 15px;
}

.page-index-latest-promotions-entry__how-to-claim ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.page-index-latest-promotions-entry__how-to-claim ol li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    font-size: 1.1em;
    padding-left: 60px;
    position: relative;
}

.page-index-latest-promotions-entry__how-to-claim ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--page-index-latest-promotions-entry-primary-color);
    color: var(--page-index-latest-promotions-entry-text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-entry__how-to-claim ol li a {
    color: var(--page-index-latest-promotions-entry-secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-latest-promotions-entry__how-to-claim ol li a:hover {
    text-decoration: underline;
}

.page-index-latest-promotions-entry__why-choose-us .page-index-latest-promotions-entry__advantages {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    text-align: left;
    margin-top: 40px;
}

.page-index-latest-promotions-entry__why-choose-us .page-index-latest-promotions-entry__advantages li {
    background-color: var(--page-index-latest-promotions-entry-text-light);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--page-index-latest-promotions-entry-text-dark);
}

.page-index-latest-promotions-entry__why-choose-us .page-index-latest-promotions-entry__advantages li strong {
    color: var(--page-index-latest-promotions-entry-secondary-color);
    font-size: 1.2em;
}

.page-index-latest-promotions-entry__why-choose-us .page-index-latest-promotions-entry__advantages li .highlight {
    color: var(--page-index-latest-promotions-entry-primary-color);
    font-weight: normal;
}

.page-index-latest-promotions-entry__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.page-index-latest-promotions-entry__responsible-gaming p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions-entry__responsible-gaming .highlight {
    color: var(--page-index-latest-promotions-entry-secondary-color);
    font-weight: bold;
}

.page-index-latest-promotions-entry__cta-final {
    background-color: var(--page-index-latest-promotions-entry-primary-color);
    color: var(--page-index-latest-promotions-entry-text-dark);
    padding: 80px 0;
}

.page-index-latest-promotions-entry__cta-final .page-index-latest-promotions-entry__section-title {
    color: var(--page-index-latest-promotions-entry-text-dark);
}

.page-index-latest-promotions-entry__cta-final .page-index-latest-promotions-entry__section-title::after {
    background-color: var(--page-index-latest-promotions-entry-secondary-color);
}

.page-index-latest-promotions-entry__cta-final p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions-entry__cta-final .highlight {
    color: var(--page-index-latest-promotions-entry-secondary-color);
    font-weight: bold;
}

.page-index-latest-promotions-entry__cta-final .page-index-latest-promotions-entry__button--primary {
    background-color: var(--page-index-latest-promotions-entry-secondary-color);
    color: var(--page-index-latest-promotions-entry-text-light);
}

.page-index-latest-promotions-entry__cta-final .page-index-latest-promotions-entry__button--primary:hover {
    background-color: var(--page-index-latest-promotions-entry-accent-blue-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-index-latest-promotions-entry__hero {
        padding: 80px 0;
        min-height: 400px;
    }
    .page-index-latest-promotions-entry__hero-title {
        font-size: 2.5em;
    }
    .page-index-latest-promotions-entry__hero-subtitle {
        font-size: 1em;
    }
    .page-index-latest-promotions-entry__section-title {
        font-size: 2em;
    }
    .page-index-latest-promotions-entry__grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions-entry__promo-card-title {
        font-size: 1.3em;
    }
    .page-index-latest-promotions-entry__how-to-claim ol li {
        padding-left: 50px;
        font-size: 1em;
    }
    .page-index-latest-promotions-entry__how-to-claim ol li::before {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    .page-index-latest-promotions-entry__why-choose-us .page-index-latest-promotions-entry__advantages {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions-entry__why-choose-us .page-index-latest-promotions-entry__advantages li {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions-entry__hero-title {
        font-size: 2em;
    }
    .page-index-latest-promotions-entry__section-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions-entry__button {
        padding: 12px 20px;
        font-size: 1em;
    }
}