:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --body-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --header-offset: 80px; /* Default, will be overridden by shared.css if present */
}

/* Base styles for the promotions page content */
.page-promotions {
    font-family: 'Arial', sans-serif;
    background-color: var(--body-bg);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-promotions__section {
    padding: 40px 0;
    position: relative;
}

.page-promotions__section-title {
    font-size: 3em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(255, 140, 26, 0.5);
}

.page-promotions__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main);
}

.page-promotions__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, rgba(13, 14, 18, 0.9) 0%, rgba(13, 14, 18, 0.7) 100%);
    overflow: hidden;
}

.page-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width for flex item */
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%;
    overflow: hidden;
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 140, 26, 0.4);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-promotions__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

/* Quick Access Section */
.page-promotions__quick-access-section {
    background-color: var(--body-bg);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.page-promotions__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 10px rgba(255, 140, 26, 0.3);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.5);
}

.page-promotions__btn-secondary {
    background-color: var(--card-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.5);
}

.page-promotions__note {
    font-size: 0.9em;
    color: #aaa;
    text-align: center;
    margin-top: 20px;
}

/* Games Intro Section */
.page-promotions__games-intro-section {
    background-color: var(--body-bg);
    padding: 60px 0;
}

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

.page-promotions__game-card {
    background-color: var(--card-bg);
    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;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-promotions__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions__game-card .page-promotions__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    padding: 15px 20px 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__game-card .page-promotions__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__game-card .page-promotions__card-title a:hover {
    color: var(--secondary-color);
}

.page-promotions__game-card .page-promotions__card-description {
    font-size: 0.95em;
    color: var(--text-main);
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-promotions__game-card .page-promotions__card-link {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.page-promotions__game-card .page-promotions__card-link:hover {
    background-color: var(--secondary-color);
}

/* Promotions Detail Section */
.page-promotions__promotions-detail-section {
    background-color: var(--body-bg);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg);
    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;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-promotions__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions__promo-card .page-promotions__card-title {
    font-size: 1.6em;
    color: var(--primary-color);
    padding: 15px 20px 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__promo-card .page-promotions__card-description {
    font-size: 0.95em;
    color: var(--text-main);
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__card-link {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 0 0 10px 10px;
}

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

.page-promotions__final-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2em;
}

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

.page-promotions__text-link:hover {
    color: var(--primary-color);
}

/* Security & Support Section */
.page-promotions__security-support-section {
    background-color: var(--body-bg);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

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

.page-promotions__feature-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.4);
}

.page-promotions__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color)); /* Subtle glow for icons */
}

.page-promotions__feature-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-description {
    font-size: 0.95em;
    color: var(--text-main);
}

.page-promotions__contact-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--body-bg);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.page-promotions__faq-list {
    margin-top: 40px;
}

details.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-weight: bold;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
    background-color: rgba(255, 140, 26, 0.1); /* Subtle hover effect */
}
details.page-promotions__faq-item[open] summary.page-promotions__faq-question {
    background-color: rgba(255, 140, 26, 0.2);
    color: var(--primary-color);
}

.page-promotions__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
details.page-promotions__faq-item[open] .page-promotions__faq-qtext {
    color: var(--primary-color);
}

.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
    transition: transform 0.3s ease;
}
details.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
    color: var(--secondary-color);
}

details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 25px 20px;
    background-color: rgba(23, 25, 31, 0.8); /* Slightly lighter than card bg */
    border-radius: 0 0 8px 8px;
    font-size: 1em;
    color: var(--text-main);
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
    margin-bottom: 10px;
}
details.page-promotions__faq-item .page-promotions__faq-answer p:last-child {
    margin-bottom: 0;
}


/* Blog Section */
.page-promotions__blog-section {
    background-color: var(--body-bg);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

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

.page-promotions__blog-card {
    background-color: var(--card-bg);
    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;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-promotions__blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions__blog-content {
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-promotions__blog-card .page-promotions__card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__blog-card .page-promotions__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__blog-card .page-promotions__card-title a:hover {
    color: var(--secondary-color);
}

.page-promotions__blog-date {
    font-size: 0.85em;
    color: #aaa;
    margin-bottom: 10px;
}

.page-promotions__blog-card .page-promotions__card-description {
    font-size: 0.95em;
    color: var(--text-main);
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__blog-card .page-promotions__card-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-promotions__blog-card .page-promotions__card-link:hover {
    background-color: var(--secondary-color);
}

.page-promotions__view-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-promotions__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-promotions__paragraph {
        font-size: 1em;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Body handles header offset */
        padding-bottom: 40px;
    }
    .page-promotions__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__button-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__game-cards-grid,
    .page-promotions__promotions-grid,
    .page-promotions__feature-grid,
    .page-promotions__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px; /* Add padding to grid containers */
    }

    .page-promotions__game-card,
    .page-promotions__promo-card,
    .page-promotions__feature-item,
    .page-promotions__blog-card {
        margin: 0 auto; /* Center single column cards */
        max-width: 400px; /* Constrain width for better readability on small screens */
    }

    .page-promotions__game-card img,
    .page-promotions__promo-card img,
    .page-promotions__feature-item img,
    .page-promotions__blog-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px;
    }
    .page-promotions__faq-qtext {
        font-size: 1em;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }
}

/* Ensure all images are responsive and not smaller than 200px */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Mobile specific image and container rules */
@media (max-width: 768px) {
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-promotions__section,
    .page-promotions__card, /* Generic card class if used */
    .page-promotions__container,
    .page-promotions__game-card,
    .page-promotions__promo-card,
    .page-promotions__feature-item,
    .page-promotions__blog-card,
    .page-promotions__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}