/* style/resources-online-sic-bo-app-guide.css */

:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: var(--dark-bg);
    --card-bg-light: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.2);
}

.page-resources-online-sic-bo-app-guide {
    font-family: Arial, sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-online-sic-bo-app-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-online-sic-bo-app-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0F4C81 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-resources-online-sic-bo-app-guide__hero-content {
    max-width: 800px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-resources-online-sic-bo-app-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-resources-online-sic-bo-app-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources-online-sic-bo-app-guide__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-online-sic-bo-app-guide__btn-primary,
.page-resources-online-sic-bo-app-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-online-sic-bo-app-guide__btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
}

.page-resources-online-sic-bo-app-guide__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-online-sic-bo-app-guide__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-resources-online-sic-bo-app-guide__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.page-resources-online-sic-bo-app-guide__hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin-top: 40px;
    z-index: 0;
}

.page-resources-online-sic-bo-app-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-online-sic-bo-app-guide__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    padding-top: 40px;
}

.page-resources-online-sic-bo-app-guide__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
    opacity: 0.8;
}

.page-resources-online-sic-bo-app-guide__overview-section,
.page-resources-online-sic-bo-app-guide__choose-app-section,
.page-resources-online-sic-bo-app-guide__download-guide-section,
.page-resources-online-sic-bo-app-guide__strategies-section,
.page-resources-online-sic-bo-app-guide__promotions-section,
.page-resources-online-sic-bo-app-guide__faq-section,
.page-resources-online-sic-bo-app-guide__conclusion-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.page-resources-online-sic-bo-app-guide__overview-section {
    background-color: #1a1a1a;
}

.page-resources-online-sic-bo-app-guide__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-online-sic-bo-app-guide__text-block {
    background-color: var(--card-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-online-sic-bo-app-guide__sub-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-resources-online-sic-bo-app-guide__text-block p {
    color: var(--text-light);
    font-size: 1em;
}

.page-resources-online-sic-bo-app-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-online-sic-bo-app-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-resources-online-sic-bo-app-guide__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

.page-resources-online-sic-bo-app-guide__feature-cards,
.page-resources-online-sic-bo-app-guide__strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-online-sic-bo-app-guide__card {
    background-color: var(--card-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
}

.page-resources-online-sic-bo-app-guide__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-resources-online-sic-bo-app-guide__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-online-sic-bo-app-guide__card p {
    font-size: 0.95em;
    color: var(--text-light);
    opacity: 0.8;
}

.page-resources-online-sic-bo-app-guide__download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.page-resources-online-sic-bo-app-guide__download-platform {
    background-color: var(--card-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-resources-online-sic-bo-app-guide__download-platform ol {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: 0.8;
}

.page-resources-online-sic-bo-app-guide__download-platform li {
    margin-bottom: 10px;
}

.page-resources-online-sic-bo-app-guide__download-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-online-sic-bo-app-guide__promo-list {
    list-style-type: disc;
    margin: 0 auto 30px auto;
    padding-left: 25px;
    max-width: 800px;
    color: var(--text-light);
    opacity: 0.9;
    font-size: 1.1em;
}

.page-resources-online-sic-bo-app-guide__promo-list li {
    margin-bottom: 15px;
}

.page-resources-online-sic-bo-app-guide__promo-list strong {
    color: var(--secondary-color);
}

.page-resources-online-sic-bo-app-guide__section-outro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
    opacity: 0.8;
}

.page-resources-online-sic-bo-app-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-online-sic-bo-app-guide__faq-item {
    background-color: var(--card-bg-light);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-online-sic-bo-app-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-light);
}

.page-resources-online-sic-bo-app-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-online-sic-bo-app-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-online-sic-bo-app-guide__faq-item.active .page-resources-online-sic-bo-app-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-online-sic-bo-app-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    opacity: 0.8;
}

.page-resources-online-sic-bo-app-guide__faq-item.active .page-resources-online-sic-bo-app-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-online-sic-bo-app-guide__faq-answer p {
    margin-bottom: 0;
    color: var(--text-light);
}

.page-resources-online-sic-bo-app-guide__conclusion-section .page-resources-online-sic-bo-app-guide__btn-primary {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-online-sic-bo-app-guide__hero-title {
        font-size: 2.8em;
    }
    .page-resources-online-sic-bo-app-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-online-sic-bo-app-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-online-sic-bo-app-guide__hero-section {
        padding: 40px 15px;
    }
    .page-resources-online-sic-bo-app-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-online-sic-bo-app-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-online-sic-bo-app-guide__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-online-sic-bo-app-guide__btn-primary,
    .page-resources-online-sic-bo-app-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-resources-online-sic-bo-app-guide__container {
        padding: 15px;
    }
    .page-resources-online-sic-bo-app-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-resources-online-sic-bo-app-guide__sub-title {
        font-size: 1.5em;
    }
    .page-resources-online-sic-bo-app-guide__card-title {
        font-size: 1.3em;
    }
    
    /* Image Responsive */
    .page-resources-online-sic-bo-app-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-online-sic-bo-app-guide__hero-image-wrapper,
    .page-resources-online-sic-bo-app-guide__download-image,
    .page-resources-online-sic-bo-app-guide__strategy-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video Responsive */
    .page-resources-online-sic-bo-app-guide video,
    .page-resources-online-sic-bo-app-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-online-sic-bo-app-guide__video-wrapper,
    .page-resources-online-sic-bo-app-guide__video-container,
    .page-resources-online-sic-bo-app-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-online-sic-bo-app-guide__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    }
    .page-resources-online-sic-bo-app-guide__overview-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section starts below header on mobile */
    }

    .page-resources-online-sic-bo-app-guide__download-platform,
    .page-resources-online-sic-bo-app-guide__card,
    .page-resources-online-sic-bo-app-guide__text-block,
    .page-resources-online-sic-bo-app-guide__promo-list,
    .page-resources-online-sic-bo-app-guide__faq-list,
    .page-resources-online-sic-bo-app-guide__faq-item,
    .page-resources-online-sic-bo-app-guide__faq-question,
    .page-resources-online-sic-bo-app-guide__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-online-sic-bo-app-guide__faq-item.active .page-resources-online-sic-bo-app-guide__faq-answer {
        padding-left: 25px;
        padding-right: 25px;
    }
    .page-resources-online-sic-bo-app-guide__faq-question {
        padding-left: 20px;
        padding-right: 20px;
    }

}

@media (max-width: 480px) {
    .page-resources-online-sic-bo-app-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-online-sic-bo-app-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-online-sic-bo-app-guide__hero-buttons {
        gap: 10px;
    }
    .page-resources-online-sic-bo-app-guide__btn-primary,
    .page-resources-online-sic-bo-app-guide__btn-secondary {
        font-size: 0.9em;
    }
    .page-resources-online-sic-bo-app-guide__faq-question {
        font-size: 1.1em;
        padding: 15px 15px;
    }
    .page-resources-online-sic-bo-app-guide__faq-answer {
        padding: 0 15px;
    }
    .page-resources-online-sic-bo-app-guide__faq-item.active .page-resources-online-sic-bo-app-guide__faq-answer {
        padding: 10px 15px;
    }
}