/* style/promotions.css */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

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

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

.page-promotions__btn--primary {
    background-color: #007BFF;
    color: #ffffff;
    border: 2px solid #007BFF;
}

.page-promotions__btn--primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-promotions__btn--secondary {
    background-color: transparent;
    color: #007BFF;
    border: 2px solid #007BFF;
}

.page-promotions__btn--secondary:hover {
    background-color: #e0f0ff;
    color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-promotions__btn--lg {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 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: #FFD700;
    border-radius: 2px;
}

.page-promotions__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: #555;
}

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
    padding: 0 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e0f0ff;
}

.page-promotions__hero-image-wrapper {
    flex-shrink: 0;
    width: 450px;
    height: 450px;
    position: relative;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Intro Section */
.page-promotions__intro {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-promotions__features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-promotions__feature-item {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background-color: #f0f8ff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-promotions__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

.page-promotions__feature-item h3 {
    font-size: 1.6em;
    color: #007BFF;
    margin-bottom: 15px;
}

.page-promotions__feature-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.7;
}

/* Promotions List Section */
.page-promotions__list {
    padding: 80px 0;
    background-color: #f0f8ff;
}

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

.page-promotions__card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-promotions__card-title {
    font-size: 1.8em;
    color: #007BFF;
    padding: 20px 25px 10px;
    margin: 0;
}

.page-promotions__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #FFD700;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    padding: 0 25px 20px;
    flex-grow: 1;
}

.page-promotions__card-actions {
    display: flex;
    justify-content: space-between;
    padding: 0 25px 25px;
    gap: 15px;
    flex-wrap: wrap;
}

.page-promotions__card-actions .page-promotions__btn {
    flex: 1 1 auto;
    min-width: 120px;
}

/* CTA Section */
.page-promotions__cta {
    background: linear-gradient(45deg, #007BFF, #0056b3);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__cta .page-promotions__section-title {
    color: #FFD700;
}

.page-promotions__cta .page-promotions__text-content {
    color: #e0f0ff;
    margin-bottom: 40px;
}

.page-promotions__cta-image {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: auto;
    opacity: 0.2;
    transform: rotate(15deg);
    z-index: 0;
}

/* Responsible Gaming Section */
.page-promotions__responsible-gaming {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-promotions__responsible-gaming .page-promotions__section-title {
    color: #007BFF;
}

.page-promotions__responsible-gaming .page-promotions__text-content {
    max-width: 800px;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 0;
    }

    .page-promotions__hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .page-promotions__hero-title {
        font-size: 2.8em;
    }

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

    .page-promotions__hero-image-wrapper {
        width: 300px;
        height: 300px;
        margin-bottom: 30px;
    }

    .page-promotions__features {
        flex-direction: column;
        align-items: center;
    }

    .page-promotions__feature-item {
        max-width: 90%;
    }

    .page-promotions__grid {
        grid-template-columns: 1fr;
    }

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

    .page-promotions__card-actions .page-promotions__btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

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

    .page-promotions__btn--lg {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-promotions__hero,
    .page-promotions__intro,
    .page-promotions__list,
    .page-promotions__cta,
    .page-promotions__responsible-gaming {
        padding: 50px 0;
    }

    .page-promotions__cta-image {
        width: 200px;
        bottom: -30px;
        right: -30px;
    }
}

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

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

    .page-promotions__hero-image-wrapper {
        width: 250px;
        height: 250px;
    }
}