/* style/promotions.css */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for dark background */
    background-color: #1A202C;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #FFD700;
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4);
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8), rgba(255, 215, 0, 0.2));
    z-index: 2;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e5dfd3;
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 0;
    background-color: #1A202C;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-promotions__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-promotions__intro p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #e5dfd3;
}

/* Buttons */
.page-promotions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
    text-align: center;
}

.page-promotions__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

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

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

.page-promotions__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

.page-promotions__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin: 5px;
}

.page-promotions__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-promotions__btn--outline:hover {
    background-color: #FFD700;
    color: #1A202C;
}

/* Grid Layout for Cards */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__card {
    background-color: #2D3748; /* Slightly lighter dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-promotions__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    min-height: 45px;
}

.page-promotions__card-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-promotions__card-title a:hover {
    text-decoration: underline;
}

.page-promotions__card-description {
    color: #e5dfd3;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card--detail {
    text-align: left;
    padding: 25px;
}

.page-promotions__card--detail .page-promotions__card-title {
    font-size: 1.3em;
    text-align: left;
}

.page-promotions__card--detail .page-promotions__card-description {
    text-align: left;
}

/* How-to Section */
.page-promotions__how-to ol {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__how-to li {
    background-color: #2D3748;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__how-to li h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-promotions__how-to li p {
    color: #e5dfd3;
    margin-bottom: 15px;
}

/* CTA Section */
.page-promotions__cta {
    text-align: center;
    background-color: #1A202C;
}

.page-promotions__cta p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #e5dfd3;
}

/* Floating Ad */
.page-promotions__floating-ad {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #FFD700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: page-promotions__bounce 2s infinite ease-in-out;
}

.page-promotions__floating-ad a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #1A202C;
    font-weight: bold;
}

.page-promotions__floating-ad-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.page-promotions__floating-ad-text {
    font-size: 1.1em;
}

@keyframes page-promotions__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        height: 400px;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__card {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__how-to li {
        padding: 20px;
    }
    .page-promotions__how-to li h3 {
        font-size: 1.5em;
    }
    .page-promotions__floating-ad {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .page-promotions__hero {
        height: 300px;
    }
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 0.9em;
    }
    .page-promotions__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__floating-ad {
        bottom: 15px;
        right: 15px;
    }
    .page-promotions__floating-ad-icon {
        width: 25px;
        height: 25px;
    }
    .page-promotions__floating-ad-text {
        font-size: 0.9em;
    }
}