/* style/promotions.css */

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

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

.page-promotions__section-padding {
    padding: 60px 20px;
}

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

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

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

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

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--nn88-gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
    font-size: 1.1rem;
    color: var(--nn88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-promotions__btn-primary {
    background: var(--nn88-button-gradient);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--nn88-gold-color);
    border: 2px solid var(--nn88-gold-color);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* Section Titles */
.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--nn88-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    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(--nn88-gold-color);
    border-radius: 2px;
}

.page-promotions__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--nn88-text-main);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.page-promotions__game-promo-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--nn88-gold-color);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__text-block {
    font-size: 1rem;
    color: var(--nn88-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__text-block a {
    color: var(--nn88-gold-color);
    text-decoration: none;
}

.page-promotions__text-block a:hover {
    text-decoration: underline;
}

.page-promotions__highlight {
    color: var(--nn88-gold-color);
    font-weight: 600;
}

/* Why Join Section */
.page-promotions__why-join-section {
    background-color: var(--nn88-card-bg);
    border-top: 1px solid var(--nn88-divider-color);
    border-bottom: 1px solid var(--nn88-divider-color);
}

.page-promotions__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-promotions__benefit-item {
    background-color: var(--nn88-deep-green);
    padding: 20px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--nn88-text-main);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-promotions__benefit-item::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Featured Promos Section */
.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(--nn88-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__card-title {
    font-size: 1.3rem;
    color: var(--nn88-gold-color);
    padding: 20px 20px 10px 20px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 0.95rem;
    color: var(--nn88-text-secondary);
    padding: 0 20px 15px 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 20px;
    background: var(--nn88-button-gradient);
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.page-promotions__card-button:hover {
    opacity: 0.9;
}

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

.page-promotions__game-promo-item {
    background-color: var(--nn88-deep-green);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__game-promo-item p {
    font-size: 0.95rem;
    color: var(--nn88-text-secondary);
}

.page-promotions__event-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Guide Section */
.page-promotions__guide-section {
    background-color: var(--nn88-deep-green);
}

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

.page-promotions__step-card {
    background-color: var(--nn88-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

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

.page-promotions__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--nn88-button-gradient);
    border-radius: 50%;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-promotions__step-title {
    font-size: 1.4rem;
    color: var(--nn88-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__step-card p {
    font-size: 0.95rem;
    color: var(--nn88-text-secondary);
}

.page-promotions__guide-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Terms Section */
.page-promotions__terms-section {
    background-color: var(--nn88-background);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__terms-item {
    background-color: var(--nn88-card-bg);
    padding: 18px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--nn88-text-secondary);
    border-left: 5px solid var(--nn88-primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions__terms-item:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--nn88-deep-green);
}

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    color: var(--nn88-text-main);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: rgba(var(--nn88-primary-color), 0.1);
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--nn88-gold-color);
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--nn88-gold-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

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

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

.page-promotions__faq-answer a {
    color: var(--nn88-gold-color);
    text-decoration: none;
}

.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section (Bottom) */
.page-promotions__cta-section {
    text-align: center;
    background-color: var(--nn88-card-bg);
    border-top: 1px solid var(--nn88-divider-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 0 40px;
    }
    .page-promotions__description {
        font-size: 1rem;
    }
    .page-promotions__section-padding {
        padding: 50px 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }
    .page-promotions__sub-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }
    .page-promotions__game-promo-title {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-promotions__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 15px;
    }
    .page-promotions__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .page-promotions__section-padding {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-promotions__text-block,
    .page-promotions__benefit-item,
    .page-promotions__card-description,
    .page-promotions__game-promo-item p,
    .page-promotions__step-card p,
    .page-promotions__terms-item,
    .page-promotions__faq-answer p {
        font-size: 0.9rem;
    }
    .page-promotions__benefit-list,
    .page-promotions__promo-grid,
    .page-promotions__game-promo-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.2rem;
    }
    .page-promotions__step-title {
        font-size: 1.3rem;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-qtext {
        line-height: 1.4;
    }
    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
    }
    
    /* Image/Video/Container responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions video,
    .page-promotions__video {
        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__why-join-section,
    .page-promotions__featured-promos-section,
    .page-promotions__guide-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .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__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
    .page-promotions__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}