:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-promotions {
    color: var(--text-main);
    background-color: var(--bg-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--deep-green);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    margin-top: -100px; /* Pull content up slightly over image */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__main-title {
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.6);
    /* No fixed font-size for H1, relying on responsive scaling */
}

.page-promotions__lead-text {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Buttons */
.page-promotions__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.page-promotions__cta-button--secondary {
    background: var(--deep-green);
    border: 2px solid var(--primary-color);
    color: var(--text-main);
}

.page-promotions__cta-button--secondary:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-promotions__cta-button--outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.page-promotions__cta-button--outline:hover {
    background: var(--primary-color);
    color: var(--text-main);
}

.page-promotions__cta-button--ghost {
    background: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
}

.page-promotions__cta-button--ghost:hover {
    background: var(--text-secondary);
    color: var(--bg-color);
}

/* Sections */
.page-promotions__intro-section,
.page-promotions__types-section,
.page-promotions__claim-guide-section,
.page-promotions__featured-section,
.page-promotions__terms-section,
.page-promotions__responsible-gaming-section,
.page-promotions__faq-section,
.page-promotions__cta-final-section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__intro-section {
    background-color: var(--card-bg);
}

.page-promotions__section-title {
    color: var(--gold-color);
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-promotions__text-block {
    color: var(--text-secondary);
    font-size: 1.05em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__text-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-promotions__promo-card-title {
    color: var(--primary-color);
    font-size: 1.5em;
    padding: 20px 20px 10px;
}

.page-promotions__promo-card-description {
    color: var(--text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-promotions__promo-card-button {
    display: block;
    text-align: center;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin: 0 20px 20px;
    border-radius: 5px;
}

.page-promotions__promo-card-button:hover {
    background: var(--secondary-color);
}

/* Guide List */
.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
}

.page-promotions__guide-list li {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.1em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-list li strong {
    color: var(--primary-color);
}

/* Featured Promotions List */
.page-promotions__promo-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-promotions__promo-item-image {
    width: 35%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-promotions__promo-item-content {
    padding: 20px;
    flex-grow: 1;
}

.page-promotions__promo-item-title {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-promotions__promo-item-title a {
    color: inherit;
    text-decoration: none;
}

.page-promotions__promo-item-title a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.page-promotions__promo-item-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-promotions__promo-item-date {
    color: var(--text-secondary);
    font-size: 0.9em;
    display: block;
    margin-bottom: 15px;
}

.page-promotions__promo-item-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-promotions__promo-item-button:hover {
    background: var(--secondary-color);
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
}

.page-promotions__terms-list li {
    background-color: var(--card-bg);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 5px solid var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-list li strong {
    color: var(--gold-color);
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    outline: none;
}

.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
}

/* CTA Final Section */
.page-promotions__cta-final-section {
    background-color: var(--deep-green);
    padding: 80px 0;
}

.page-promotions__cta-final-section .page-promotions__section-title {
    color: var(--gold-color);
}

.page-promotions__cta-final-section .page-promotions__text-block {
    color: var(--text-main);
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -50px;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-item {
        flex-direction: column;
    }
    .page-promotions__promo-item-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__hero-content {
        padding: 30px 15px;
        margin-top: -30px;
    }
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__lead-text {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block,
    .page-promotions__guide-list li,
    .page-promotions__promo-card-description,
    .page-promotions__promo-item-description,
    .page-promotions__faq-item summary,
    .page-promotions__faq-answer {
        font-size: 0.95em;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-card-image {
        height: 180px;
    }
    .page-promotions__promo-item {
        flex-direction: column;
    }
    .page-promotions__promo-item-image {
        width: 100%;
        height: 200px;
    }
    .page-promotions__cta-button,
    .page-promotions__cta-button--secondary,
    .page-promotions__cta-button--outline,
    .page-promotions__cta-button--ghost {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 15px; /* Add space between stacked buttons */
    }
    .page-promotions__cta-button:last-child {
        margin-bottom: 0;
    }

    /* Image and Video responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__hero-image-wrapper,
    .page-promotions__promo-card,
    .page-promotions__promo-item,
    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__claim-guide-section,
    .page-promotions__featured-section,
    .page-promotions__terms-section,
    .page-promotions__responsible-gaming-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-promotions__hero-content {
        border-radius: 0;
    }
}