/* style/index-top-promotions.css */

/* Variables for colors */
:root {
    --primary-color: #0A2342; /* Dark Blue */
    --accent-color: #FFD700; /* Gold */
    --text-light: #FFFFFF;
    --text-dark: #333333; /* For contrast on light backgrounds */
    --background-light: #f5f5f5; /* Light grey for sections */
    --background-dark: #0A2342; /* Dark blue for sections */
    --button-primary-bg: var(--accent-color);
    --button-primary-text: var(--primary-color);
    --button-secondary-bg: var(--primary-color);
    --button-secondary-text: var(--accent-color);
    --card-bg: #1A3A5A; /* Slightly lighter dark blue for cards */
    --card-text: var(--text-light);
}

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

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

/* Hero Section */
.page-index-top-promotions__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3A5A 100%); /* Dark blue gradient */
    color: var(--text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-top-promotions__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><pattern id="pattern-cells" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 0 0 L 10 0 L 10 10 L 0 10 Z" fill="rgba(255, 215, 0, 0.05)" /></pattern><rect x="0" y="0" width="100%" height="100%" fill="url(%23pattern-cells)" /></svg>'); /* Abstract background */
    background-size: 200px;
    opacity: 0.1;
    z-index: 0;
}

.page-index-top-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-index-top-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--accent-color); /* Gold title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-index-top-promotions__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-index-top-promotions__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index-top-promotions__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1em;
}

.page-index-top-promotions__btn--primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border-color: var(--button-primary-bg);
}

.page-index-top-promotions__btn--primary:hover {
    background-color: transparent;
    color: var(--button-primary-bg);
    border-color: var(--button-primary-bg);
    transform: translateY(-3px);
}

.page-index-top-promotions__btn--secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border-color: var(--button-secondary-text);
}

.page-index-top-promotions__btn--secondary:hover {
    background-color: var(--button-secondary-text);
    color: var(--button-secondary-bg);
    transform: translateY(-3px);
}

.page-index-top-promotions__hero-image-wrapper {
    display: none; /* Hide image on hero for cleaner look, or use as background */
}

/* Section Titles and Descriptions */
.page-index-top-promotions__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Featured Promotions Section */
.page-index-top-promotions__featured-promos {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index-top-promotions__promo-card {
    background-color: var(--card-bg);
    color: var(--card-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-top-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-index-top-promotions__promo-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 3px solid var(--accent-color);
}

.page-index-top-promotions__promo-title {
    font-size: 1.6em;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-top-promotions__promo-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-top-promotions__promo-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.page-index-top-promotions__promo-features li {
    margin-bottom: 8px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.page-index-top-promotions__promo-features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.page-index-top-promotions__btn--small {
    padding: 10px 25px;
    font-size: 0.95em;
    border-radius: 25px;
    margin-top: auto; /* Push button to bottom */
}

/* Why Choose nohu28 Section */
.page-index-top-promotions__why-nohu28 {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-top-promotions__why-nohu28 .page-index-top-promotions__section-title {
    color: var(--accent-color);
}

.page-index-top-promotions__why-nohu28 .page-index-top-promotions__section-description {
    color: var(--text-light);
}

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

.page-index-top-promotions__why-item {
    text-align: center;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-top-promotions__why-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.page-index-top-promotions__why-title {
    font-size: 1.8em;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-top-promotions__why-text {
    font-size: 1em;
    color: var(--text-light);
}

/* How To Claim Section */
.page-index-top-promotions__how-to-claim {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index-top-promotions__step-card {
    background-color: var(--card-bg);
    color: var(--card-text);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    padding-top: 70px; /* Space for step number */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-top-promotions__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-top-promotions__step-image {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-top-promotions__step-title {
    font-size: 1.6em;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-top-promotions__step-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-index-top-promotions__faq {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-top-promotions__faq .page-index-top-promotions__section-title {
    color: var(--accent-color);
}

.page-index-top-promotions__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-top-promotions__faq-question {
    font-size: 1.4em;
    color: var(--accent-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.page-index-top-promotions__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-index-top-promotions__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index-top-promotions__faq-answer {
    font-size: 1em;
    color: var(--text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-index-top-promotions__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    margin-top: 15px;
}


/* Call to Action Section */
.page-index-top-promotions__cta {
    background: linear-gradient(45deg, var(--accent-color) 0%, #FFCC00 100%); /* Gold gradient */
    color: var(--primary-color);
    padding: 100px 0;
    text-align: center;
}

.page-index-top-promotions__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-index-top-promotions__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--primary-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-top-promotions__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-color: var(--primary-color);
}

.page-index-top-promotions__btn--large:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-top-promotions__hero-title {
        font-size: 3em;
    }
    .page-index-top-promotions__section-title {
        font-size: 2.2em;
    }
    .page-index-top-promotions__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-index-top-promotions__hero {
        padding: 60px 0;
    }
    .page-index-top-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-index-top-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-top-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-top-promotions__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index-top-promotions__section-title {
        font-size: 2em;
    }
    .page-index-top-promotions__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index-top-promotions__promo-grid,
    .page-index-top-promotions__why-grid,
    .page-index-top-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-index-top-promotions__promo-card,
    .page-index-top-promotions__why-item,
    .page-index-top-promotions__step-card {
        padding: 25px;
    }
    .page-index-top-promotions__step-card {
        padding-top: 60px;
    }
    .page-index-top-promotions__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -20px;
    }
    .page-index-top-promotions__cta {
        padding: 80px 0;
    }
    .page-index-top-promotions__cta-title {
        font-size: 2em;
    }
    .page-index-top-promotions__cta-description {
        font-size: 1.1em;
    }
    .page-index-top-promotions__btn--large {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .page-index-top-promotions__hero-title {
        font-size: 2em;
    }
    .page-index-top-promotions__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-top-promotions__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-index-top-promotions__section-title {
        font-size: 1.8em;
    }
    .page-index-top-promotions__promo-title {
        font-size: 1.4em;
    }
    .page-index-top-promotions__why-title {
        font-size: 1.6em;
    }
    .page-index-top-promotions__step-title {
        font-size: 1.4em;
    }
    .page-index-top-promotions__cta-title {
        font-size: 1.8em;
    }
    .page-index-top-promotions__cta-description {
        font-size: 1em;
    }
    .page-index-top-promotions__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}