/* style/promotions.css */

/* Variables */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #1a1a2e;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --accent-red: #C30808;
    --accent-yellow: #FFFF00;
}

.page-promotions {
    color: var(--light-text-color); /* Default text color for dark body background */
    background-color: var(--dark-bg-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    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: var(--primary-color);
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
}

.page-promotions__light-bg {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-promotions__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* CTA Button */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-primary:hover {
    background-color: #02944b;
    transform: translateY(-3px);
}

.page-promotions__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 80px 0;
    text-align: center;
}

/* Video Section */
.page-promotions__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto 20px auto;
    background-color: #000;
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

.page-promotions__video-caption {
    font-size: 1.1em;
    color: var(--light-text-color);
    margin-top: 10px;
}

/* Types Section (Cards) */
.page-promotions__types-section {
    padding: 80px 0;
}

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

.page-promotions__card {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 20px 15px 10px 15px;
}

.page-promotions__card-description {
    font-size: 1em;
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

/* Conditions Section */
.page-promotions__conditions-section {
    padding: 80px 0;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-promotions__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.5;
    color: var(--light-text-color);
}

.page-promotions__list-item strong {
    color: var(--secondary-color);
}

/* How-to-get Section */
.page-promotions__how-to-get-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__numbered-list {
    list-style: decimal;
    padding-left: 20px;
    margin: 0 auto 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions__numbered-list .page-promotions__list-item {
    background-color: transparent;
    border: none;
    padding: 10px 0;
    margin-bottom: 5px;
    color: var(--dark-text-color);
}

.page-promotions__tip {
    font-style: italic;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

/* Benefits Section */
.page-promotions__benefits-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions__benefit-card:hover {
    transform: translateY(-5px);
}

.page-promotions__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__benefit-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-promotions__benefit-description {
    font-size: 1em;
    color: var(--light-text-color);
}

/* Game Specific Promotions */
.page-promotions__game-specific-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__game-promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-promotions__game-promo-card {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__game-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__game-promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.page-promotions__game-promo-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 15px 15px 10px 15px;
}

.page-promotions__game-promo-description {
    font-size: 0.95em;
    padding: 0 15px 15px 15px;
    flex-grow: 1;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-promotions__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
}

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

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--light-text-color);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 20px;
}

.page-promotions__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

.page-promotions__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
    color: var(--secondary-color);
}

/* Call to Action Bottom Section */
.page-promotions__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__cta-bottom-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__cta-bottom-section .page-promotions__text-block {
    color: var(--light-text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__inline-link {
    color: var(--accent-yellow);
    text-decoration: underline;
    font-weight: bold;
}

.page-promotions__inline-link:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__hero-description {
        font-size: 1.3em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__game-promo-title {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__container {
        padding: 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }
    .page-promotions__grid-container {
        grid-template-columns: 1fr;
    }
    .page-promotions__card, .page-promotions__benefit-card, .page-promotions__game-promo-card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-promotions__card-image, .page-promotions__benefit-icon, .page-promotions__game-promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__video-section, .page-promotions__video-container, .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions video, .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__faq-question h3 {
        font-size: 1.1em;
    }
    .page-promotions__faq-answer p {
        font-size: 0.95em;
    }
    .page-promotions__numbered-list {
        padding-left: 15px;
    }
    .page-promotions__numbered-list .page-promotions__list-item {
        padding: 8px 0;
    }
    .page-promotions__cta-bottom-section .page-promotions__cta-button {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__game-promo-title {
        font-size: 1.1em;
    }
}