/* style/promotions.css */

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

.page-promotions {
    background-color: var(--background-dark);
    color: var(--text-main);
    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;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin-top: -100px; /* Adjust to pull content slightly over the image if needed, but not overlap text */
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.page-promotions__main-title {
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

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

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

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--background-dark);
}

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

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

.page-promotions__intro-section,
.page-promotions__promo-category-section,
.page-promotions__vip-section,
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-main);
}

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

.page-promotions__text-block {
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.05em;
}

.page-promotions__promo-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: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-promotions__promo-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    color: var(--gold-color);
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__vip-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-promotions__vip-image {
    flex: 1;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block;
    width: 100%;
    height: auto;
}

.page-promotions__vip-details {
    flex: 1;
    color: var(--text-secondary);
}

.page-promotions__vip-details .page-promotions__text-block {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-promotions__vip-benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-promotions__vip-benefits-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 1.05em;
}

.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

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

.page-promotions__faq-item {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-main);
    list-style: none; /* For details summary */
}

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

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

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

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.6;
}

.page-promotions__faq-answer p {
    margin-bottom: 0;
    color: var(--text-secondary);
    text-align: left;
}

.page-promotions__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--deep-green-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -50px;
        padding: 30px 15px;
    }
    .page-promotions__main-title {
        font-size: 2.5em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__vip-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-promotions__vip-image {
        max-width: 100%;
    }
    .page-promotions__vip-details .page-promotions__text-block {
        text-align: center;
    }
    .page-promotions__vip-benefits-list {
        text-align: center;
        padding-left: 0;
    }
    .page-promotions__vip-benefits-list li {
        background-position: center left 20%; /* Adjust for center alignment */
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }
    .page-promotions__hero-content {
        margin-top: -30px;
        padding: 20px 15px;
    }
    .page-promotions__main-title {
        font-size: 2em;
    }
    .page-promotions__description {
        font-size: 1em;
    }
    .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;
        margin-left: 0 !important;
        margin-bottom: 15px;
    }
    .page-promotions__hero-content .page-promotions__btn-primary {
        margin-bottom: 0;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__vip-details .page-promotions__text-block {
        text-align: left;
    }
    .page-promotions__vip-benefits-list li {
        background-position: left center;
    }
    .page-promotions__promo-card-image,
    .page-promotions__vip-image,
    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__intro-section,
    .page-promotions__promo-category-section,
    .page-promotions__vip-section,
    .page-promotions__faq-section,
    .page-promotions__terms-section,
    .page-promotions__cta-section,
    .page-promotions__promo-card-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions p,
    .page-promotions li {
      font-size: 16px;
      line-height: 1.6;
    }
    .page-promotions__promo-card-image,
    .page-promotions__vip-image {
        min-height: 200px; /* Ensure images are not too small */
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-promotions__hero-content {
        margin-top: -20px;
        padding: 15px 10px;
    }
}