/* style/promotions.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --border-color: #333333;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for the page, assuming dark body background */
    background-color: var(--secondary-color); /* Matches body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

.page-promotions__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background: url('[GALLERY:hero:1920x1080:6ff_promotions_hero,online_gambling,golden_chips]') no-repeat center center/cover;
    color: var(--text-on-dark);
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6);
}

.page-promotions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.page-promotions__title-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-on-dark);
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-on-dark);
}

/* Section Backgrounds */
.page-promotions__dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-on-dark);
    padding: 60px 0;
}

.page-promotions__light-bg {
    background-color: #2a2a2a; /* Slightly lighter dark for contrast */
    color: var(--text-on-dark);
    padding: 60px 0;
}

/* Promotion Categories */
.page-promotions__categories-section .page-promotions__section-title,
.page-promotions__categories-section .page-promotions__section-description {
    color: var(--primary-color);
}

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

.page-promotions__category-card {
    background-color: #333333; /* Darker card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: var(--text-on-dark);
}

.page-promotions__category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--primary-color);
}

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

.page-promotions__category-text {
    padding: 0 15px 20px 15px;
    font-size: 0.95em;
    color: #cccccc;
}

.page-promotions__category-button {
    display: inline-block;
    padding: 10px 25px;
    margin-bottom: 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: calc(100% - 30px);
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__category-button:hover {
    background-color: #e6c200;
}

/* Detailed Offers */
.page-promotions__offer-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.page-promotions__offer-item {
    display: flex;
    align-items: center;
    background-color: #333333; /* Darker card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-on-dark);
}

.page-promotions__offer-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-promotions__offer-image {
    width: 50%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.page-promotions__offer-content {
    width: 50%;
    padding: 30px;
}

.page-promotions__offer-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__offer-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
}

.page-promotions__offer-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-promotions__offer-features li {
    margin-bottom: 8px;
    color: #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.page-promotions__offer-features li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* How to Claim */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: #333333; /* Darker card background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-on-dark);
    transition: transform 0.3s ease;
}

.page-promotions__step-item:hover {
    transform: translateY(-5px);
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

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

.page-promotions__step-text {
    font-size: 0.95em;
    color: #cccccc;
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    max-width: 900px;
    margin: 40px auto;
    color: #cccccc;
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

.page-promotions__read-more-terms {
    text-align: center;
    font-size: 1.1em;
    margin-top: 30px;
    color: var(--text-on-dark);
}

.page-promotions__link-text {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__link-text:hover {
    color: #e6c200;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #333333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #444444;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    color: var(--text-on-dark);
}

.page-promotions__faq-question:hover {
    background-color: #555555;
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--primary-color);
    pointer-events: none;
}

.page-promotions__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: #3a3a3a;
    color: #cccccc;
    border-radius: 0 0 8px 8px;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

/* About 6ff Section */
.page-promotions__about-6ff-section {
    text-align: center;
}

.page-promotions__about-6ff-section .page-promotions__section-title {
    color: var(--primary-color);
}

.page-promotions__about-6ff-section .page-promotions__section-description {
    color: #cccccc;
    margin-bottom: 40px;
}

/* News Section */
.page-promotions__blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__blog-item {
    background-color: #333333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-dark);
}

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

.page-promotions__blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--primary-color);
}

.page-promotions__blog-content {
    padding: 20px;
}

.page-promotions__blog-link {
    text-decoration: none;
    color: inherit;
}

.page-promotions__blog-item-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.page-promotions__blog-link:hover .page-promotions__blog-item-title {
    color: #e6c200;
}

.page-promotions__blog-item-excerpt {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 15px;
}

.page-promotions__blog-item-date {
    font-size: 0.85em;
    color: #999999;
    display: block;
}

.page-promotions__more-news-cta {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }

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

    .page-promotions__offer-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        padding-top: var(--header-offset, 120px) !important;
        font-size: 15px;
        line-height: 1.5;
    }
    
    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__hero-section {
        padding: 60px 0;
    }

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

    .page-promotions__title-description {
        font-size: 1em;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-promotions__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-promotions__offer-item {
        flex-direction: column;
    }

    .page-promotions__offer-item:nth-child(even) {
        flex-direction: column;
    }

    .page-promotions__offer-image,
    .page-promotions__offer-content {
        width: 100%;
    }

    .page-promotions__offer-image {
        height: 250px;
    }

    .page-promotions__offer-content {
        padding: 20px;
    }

    .page-promotions__offer-title {
        font-size: 1.5em;
    }

    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    
    .page-promotions__blog-list {
        grid-template-columns: 1fr;
    }
    
    /* Images and Videos Responsive */
    .page-promotions img,
    .page-promotions video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__category-image,
    .page-promotions__offer-image,
    .page-promotions__blog-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__category-card,
    .page-promotions__offer-item,
    .page-promotions__step-item,
    .page-promotions__faq-item,
    .page-promotions__blog-item,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
    
    .page-promotions__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-promotions__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    
    .page-promotions__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 1.8em;
    }
    
    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }
}

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

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

    .page-promotions__hero-section {
        padding: 40px 0;
    }
}