/* style/blog-hello88-discount-code-guide.css */

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

/* Base styles for the page content */
.page-blog-hello88-discount-code-guide {
    background-color: var(--bg-color-dark);
    color: var(--text-main-color); /* Light text on dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-blog-hello88-discount-code-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-hello88-discount-code-guide__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-blog-hello88-discount-code-guide__sub-section-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-blog-hello88-discount-code-guide p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-blog-hello88-discount-code-guide__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-blog-hello88-discount-code-guide__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-blog-hello88-discount-code-guide__list li::before {
    content: '•';
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: -2px;
}

.page-blog-hello88-discount-code-guide__list--bullets li::before {
    content: '✓';
    color: var(--secondary-color);
}

/* Hero Section */
.page-blog-hello88-discount-code-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog-hello88-discount-code-guide__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.page-blog-hello88-discount-code-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-blog-hello88-discount-code-guide__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main-color);
}

.page-blog-hello88-discount-code-guide__main-title {
    color: var(--gold-color);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* No fixed font-size for H1 */
}

.page-blog-hello88-discount-code-guide__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

.page-blog-hello88-discount-code-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-blog-hello88-discount-code-guide__btn-primary,
.page-blog-hello88-discount-code-guide__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-hello88-discount-code-guide__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-hello88-discount-code-guide__btn-primary:hover {
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
    transform: translateY(-2px);
}

.page-blog-hello88-discount-code-guide__btn-secondary {
    background-color: transparent;
    color: var(--text-secondary-color);
    border: 2px solid var(--border-color);
}

.page-blog-hello88-discount-code-guide__btn-secondary:hover {
    background-color: var(--border-color);
    color: var(--text-main-color);
}

/* Introduction Section */
.page-blog-hello88-discount-code-guide__introduction-section,
.page-blog-hello88-discount-code-guide__guide-section,
.page-blog-hello88-discount-code-guide__conclusion-section {
    padding: 60px 0;
    background-color: var(--bg-color-dark);
}

.page-blog-hello88-discount-code-guide__image-block {
    margin: 30px 0;
    text-align: center;
}

.page-blog-hello88-discount-code-guide__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.page-blog-hello88-discount-code-guide__image-caption {
    font-style: italic;
    color: var(--text-secondary-color);
    margin-top: 10px;
    font-size: 0.9em;
}

/* Types Section */
.page-blog-hello88-discount-code-guide__types-section,
.page-blog-hello88-discount-code-guide__terms-section,
.page-blog-hello88-discount-code-guide__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-blog-hello88-discount-code-guide__card {
    background-color: var(--bg-color-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--divider-color);
    color: var(--text-main-color);
}

.page-blog-hello88-discount-code-guide__card-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-hello88-discount-code-guide__cta-buttons--center {
    margin-top: 40px;
}

/* Guide Section (Step-by-step) */
.page-blog-hello88-discount-code-guide__step-by-step {
    margin-top: 40px;
}

.page-blog-hello88-discount-code-guide__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.page-blog-hello88-discount-code-guide__step-icon {
    background: var(--gold-color);
    color: var(--bg-color-dark);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

.page-blog-hello88-discount-code-guide__step-content {
    flex-grow: 1;
}

.page-blog-hello88-discount-code-guide__step-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-blog-hello88-discount-code-guide__step-content a {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-blog-hello88-discount-code-guide__step-content a:hover {
    color: var(--gold-color);
}

/* Terms Section */
.page-blog-hello88-discount-code-guide__text-block {
    margin-top: 30px;
    font-style: italic;
    color: var(--text-secondary-color);
    text-align: center;
}

/* FAQ Section */
.page-blog-hello88-discount-code-guide__faq-list {
    margin-top: 40px;
}

.page-blog-hello88-discount-code-guide__faq-item {
    background-color: var(--bg-color-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--divider-color);
    overflow: hidden;
}

.page-blog-hello88-discount-code-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    transition: background-color 0.3s ease;
}

.page-blog-hello88-discount-code-guide__faq-question:hover {
    background-color: var(--deep-green-color);
}

.page-blog-hello88-discount-code-guide__faq-toggle {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-left: 15px;
    flex-shrink: 0;
}

.page-blog-hello88-discount-code-guide__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary-color);
    font-size: 1em;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-hello88-discount-code-guide__faq-item[open] .page-blog-hello88-discount-code-guide__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 10px;
}

.page-blog-hello88-discount-code-guide__faq-item[open] .page-blog-hello88-discount-code-guide__faq-question {
    background-color: var(--deep-green-color);
}

.page-blog-hello88-discount-code-guide__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-blog-hello88-discount-code-guide__faq-item summary {
    list-style: none;
}

/* Conclusion Section */
.page-blog-hello88-discount-code-guide__conclusion-section {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-hello88-discount-code-guide__main-title {
        font-size: 2.8em;
    }
    .page-blog-hello88-discount-code-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-blog-hello88-discount-code-guide__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }
    .page-blog-hello88-discount-code-guide__hero-content {
        padding: 20px 15px;
    }
    .page-blog-hello88-discount-code-guide__main-title {
        font-size: 2em;
        line-height: 1.2;
    }
    .page-blog-hello88-discount-code-guide__description {
        font-size: 1em;
    }
    .page-blog-hello88-discount-code-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-blog-hello88-discount-code-guide__btn-primary,
    .page-blog-hello88-discount-code-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-blog-hello88-discount-code-guide__introduction-section,
    .page-blog-hello88-discount-code-guide__types-section,
    .page-blog-hello88-discount-code-guide__guide-section,
    .page-blog-hello88-discount-code-guide__terms-section,
    .page-blog-hello88-discount-code-guide__tips-section,
    .page-blog-hello88-discount-code-guide__faq-section,
    .page-blog-hello88-discount-code-guide__conclusion-section {
        padding: 30px 0;
    }

    .page-blog-hello88-discount-code-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-hello88-discount-code-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-blog-hello88-discount-code-guide__sub-section-title {
        font-size: 1.4em;
    }

    .page-blog-hello88-discount-code-guide__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-hello88-discount-code-guide__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .page-blog-hello88-discount-code-guide__step-icon {
        margin-bottom: 10px;
    }

    .page-blog-hello88-discount-code-guide__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    
    /* Images responsive */
    .page-blog-hello88-discount-code-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-hello88-discount-code-guide__image-block,
    .page-blog-hello88-discount-code-guide__hero-image-wrapper,
    .page-blog-hello88-discount-code-guide__card,
    .page-blog-hello88-discount-code-guide__step-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}