/* style/index-quick-register-guide.css */

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

/* Base styles for the page content, ensuring contrast with body background */
.page-index-quick-register-guide {
    background-color: var(--co88-background); /* Ensure consistent background */
    color: var(--co88-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-index-quick-register-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-index-quick-register-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px; /* Base padding */
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    box-sizing: border-box;
}

.page-index-quick-register-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 40px; /* Space between image and content */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-quick-register-guide__hero-content {
    position: relative; /* Ensure content is in normal flow below image */
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-index-quick-register-guide__main-title {
    color: var(--co88-text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* No fixed font-size, relying on context and responsiveness */
}

.page-index-quick-register-guide__hero-description {
    color: var(--co88-text-secondary);
    font-size: 1.15em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-quick-register-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* General Section Styles */
.page-index-quick-register-guide__content-section {
    padding: 60px 0;
}

.page-index-quick-register-guide__dark-bg {
    background-color: var(--co88-background);
    color: var(--co88-text-main);
}

.page-index-quick-register-guide__light-bg {
    background-color: #0d1e15; /* A slightly lighter dark green to differentiate */
    color: var(--co88-text-main);
}

.page-index-quick-register-guide__dark-section {
    background-color: var(--co88-deep-green);
    color: var(--co88-text-main);
}

.page-index-quick-register-guide__section-title {
    color: var(--co88-text-main);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-index-quick-register-guide__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--co88-glow);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-index-quick-register-guide__text-block {
    color: var(--co88-text-secondary);
    font-size: 1.05em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-index-quick-register-guide__text-block strong {
    color: var(--co88-text-main);
}

/* Buttons */
.page-index-quick-register-guide__btn-primary,
.page-index-quick-register-guide__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-index-quick-register-guide__btn-primary {
    background: var(--co88-button-gradient);
    color: var(--co88-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-quick-register-guide__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-quick-register-guide__btn-secondary {
    background: transparent;
    color: var(--co88-glow);
    border: 2px solid var(--co88-glow);
}

.page-index-quick-register-guide__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    color: var(--co88-text-main);
    border-color: var(--co88-text-main);
    transform: translateY(-2px);
}

.page-index-quick-register-guide__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-index-quick-register-guide__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

.page-index-quick-register-guide__center-cta {
    text-align: center;
    margin-top: 40px;
}

.page-index-quick-register-guide__text-link {
    color: var(--co88-glow);
    text-decoration: underline;
}

.page-index-quick-register-guide__text-link:hover {
    color: var(--co88-text-main);
}

/* Step-by-Step Guide */
.page-index-quick-register-guide__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-quick-register-guide__step-card {
    background-color: var(--co88-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--co88-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-quick-register-guide__step-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid var(--co88-border);
}

.page-index-quick-register-guide__step-title {
    color: var(--co88-text-main);
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-quick-register-guide__step-description {
    color: var(--co88-text-secondary);
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-quick-register-guide__list {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px auto;
}

.page-index-quick-register-guide__list-item {
    color: var(--co88-text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-index-quick-register-guide__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--co88-glow);
}

/* Promotion Grid */
.page-index-quick-register-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-quick-register-guide__promo-card {
    background-color: var(--co88-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--co88-border);
}

.page-index-quick-register-guide__promo-title {
    color: var(--co88-text-main);
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-quick-register-guide__promo-description {
    color: var(--co88-text-secondary);
    font-size: 1em;
}

/* Features Grid */
.page-index-quick-register-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-quick-register-guide__feature-card {
    background-color: var(--co88-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--co88-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-quick-register-guide__feature-icon {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--co88-border);
}

.page-index-quick-register-guide__feature-title {
    color: var(--co88-text-main);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-index-quick-register-guide__feature-description {
    color: var(--co88-text-secondary);
    font-size: 0.95em;
    flex-grow: 1;
}

/* FAQ Section */
.page-index-quick-register-guide__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-quick-register-guide__faq-item {
    background-color: var(--co88-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--co88-border);
    overflow: hidden;
}

.page-index-quick-register-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--co88-text-main);
    font-size: 1.15em;
    font-weight: 600;
    background-color: var(--co88-deep-green);
    border-bottom: 1px solid var(--co88-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-index-quick-register-guide__faq-question::-webkit-details-marker {
    display: none;
}

.page-index-quick-register-guide__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.2);
}

.page-index-quick-register-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--co88-glow);
}

.page-index-quick-register-guide__faq-answer {
    padding: 20px 25px;
    color: var(--co88-text-secondary);
    font-size: 1em;
    line-height: 1.7;
}

.page-index-quick-register-guide__faq-answer p {
    margin-bottom: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-index-quick-register-guide__main-title {
        font-size: 2.8em;
    }
    .page-index-quick-register-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-quick-register-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-quick-register-guide__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-index-quick-register-guide__hero-image {
        margin-bottom: 30px;
    }

    .page-index-quick-register-guide__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-index-quick-register-guide__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-index-quick-register-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-index-quick-register-guide__btn-primary,
    .page-index-quick-register-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-quick-register-guide__content-section {
        padding: 40px 0;
    }

    .page-index-quick-register-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-quick-register-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-index-quick-register-guide__text-block {
        font-size: 0.95em;
    }

    .page-index-quick-register-guide__step-by-step,
    .page-index-quick-register-guide__promo-grid,
    .page-index-quick-register-guide__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-quick-register-guide__step-card,
    .page-index-quick-register-guide__promo-card,
    .page-index-quick-register-guide__feature-card {
        padding: 20px;
    }

    .page-index-quick-register-guide__step-title {
        font-size: 1.4em;
    }

    .page-index-quick-register-guide__promo-title,
    .page-index-quick-register-guide__feature-title {
        font-size: 1.3em;
    }

    .page-index-quick-register-guide__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-index-quick-register-guide__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    /* Ensure all images are responsive */
    .page-index-quick-register-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure video containers are responsive */
    .page-index-quick-register-guide video,
    .page-index-quick-register-guide__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-index-quick-register-guide__video-section,
    .page-index-quick-register-guide__video-container,
    .page-index-quick-register-guide__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    /* Ensure any general content containers handle overflow */
    .page-index-quick-register-guide__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
}