/* style/promo.css */
.page-promo {
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-promo__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
    background-color: #000000; /* Dark background for hero content contrast */
    color: #FFFFFF;
}

.page-promo__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-promo__hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.page-promo__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for readability */
    border-radius: 10px;
}

.page-promo__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

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

.page-promo__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-promo__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-promo__button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-promo__button--register:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-promo__button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-promo__button--login:hover {
    background-color: #e6a73a;
    transform: translateY(-2px);
}

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

.page-promo__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

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

.page-promo__featured-promotions {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-promo__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promo__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.page-promo__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promo__card-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promo__card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promo__card-title a:hover {
    color: #FCBC45;
}

.page-promo__card-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promo__button--details {
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px 20px;
    font-size: 0.95em;
    align-self: flex-start;
}

.page-promo__button--details:hover {
    background-color: #333333;
}

.page-promo__why-lodivip {
    padding: 80px 0;
}

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

.page-promo__feature-item {
    text-align: center;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-promo__feature-icon {
    width: 200px; 
    height: 150px; 
    object-fit: contain;
    margin-bottom: 25px;
}

.page-promo__feature-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.page-promo__feature-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-promo__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-promo__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-promo__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-promo__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    background-color: #FCBC45;
    color: #000000;
}

.page-promo__button--large:hover {
    background-color: #e6a73a;
    transform: translateY(-3px);
}

.page-promo__faq-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-promo__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-promo__faq-answer {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-top: 15px;
}

.page-promo__responsible-gaming {
    padding: 60px 0;
    text-align: center;
}

.page-promo__responsible-gaming .page-promo__section-description a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-promo__responsible-gaming .page-promo__section-description a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-promo__hero-title {
        font-size: 2.8em;
    }
    .page-promo__hero-description {
        font-size: 1.1em;
    }
    .page-promo__section-title {
        font-size: 2em;
    }
    .page-promo__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-promo__hero-section {
        min-height: 400px;
    }
    .page-promo__hero-title {
        font-size: 2.2em;
    }
    .page-promo__hero-description {
        font-size: 1em;
    }
    .page-promo__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-promo__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promo__section-title {
        font-size: 1.8em;
    }
    .page-promo__cta-title {
        font-size: 2em;
    }
    .page-promo__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-promo__card-image, .page-promo__feature-icon {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
    }
    /* Ensure all images within .page-promo are responsive and don't cause overflow */
    .page-promo img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-promo__promo-grid, .page-promo__features-grid {
        grid-template-columns: 1fr;
    }
    .page-promo__hero-container, .page-promo__container {
        padding: 15px;
    }
    .page-promo__hero-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-promo__hero-title {
        font-size: 1.8em;
    }
    .page-promo__section-title {
        font-size: 1.5em;
    }
    .page-promo__cta-title {
        font-size: 1.8em;
    }
    .page-promo__card-title {
        font-size: 1.4em;
    }
    .page-promo__feature-title {
        font-size: 1.5em;
    }
    .page-promo__faq-question {
        font-size: 1.2em;
    }
    .page-promo__hero-section {
        min-height: 350px;
    }
}