/* style/resources-iwin-download-safety-guide.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-dark: #26A9E0;
    --button-login: #EA7C07;
    --border-color: #e0e0e0;
}

.page-resources-iwin-download-safety-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-resources-iwin-download-safety-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-iwin-download-safety-guide__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: var(--text-light);
    background-color: var(--background-dark);
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-iwin-download-safety-guide__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-iwin-download-safety-guide__btn-primary,
.page-resources-iwin-download-safety-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-iwin-download-safety-guide__btn-primary {
    background-color: var(--button-login);
    color: var(--text-light);
    border: 2px solid var(--button-login);
}

.page-resources-iwin-download-safety-guide__btn-primary:hover {
    background-color: darken(var(--button-login), 10%);
    border-color: darken(var(--button-login), 10%);
}

.page-resources-iwin-download-safety-guide__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-resources-iwin-download-safety-guide__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-resources-iwin-download-safety-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

.page-resources-iwin-download-safety-guide__dark-section .page-resources-iwin-download-safety-guide__section-title {
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-dark);
}

.page-resources-iwin-download-safety-guide__dark-section .page-resources-iwin-download-safety-guide__paragraph {
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__intro-section,
.page-resources-iwin-download-safety-guide__find-official-link-section,
.page-resources-iwin-download-safety-guide__identify-fake-section,
.page-resources-iwin-download-safety-guide__benefits-section,
.page-resources-iwin-download-safety-guide__faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-resources-iwin-download-safety-guide__why-official-section,
.page-resources-iwin-download-safety-guide__download-steps-section,
.page-resources-iwin-download-safety-guide__security-tips-section,
.page-resources-iwin-download-safety-guide__conclusion-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__dark-section {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-resources-iwin-download-safety-guide__features-grid,
.page-resources-iwin-download-safety-guide__warning-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-iwin-download-safety-guide__card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-dark);
}

.page-resources-iwin-download-safety-guide__dark-section .page-resources-iwin-download-safety-guide__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-iwin-download-safety-guide__dark-section .page-resources-iwin-download-safety-guide__card-title {
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

.page-resources-iwin-download-safety-guide__dark-section .page-resources-iwin-download-safety-guide__card-text {
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__list,
.page-resources-iwin-download-safety-guide__numbered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-resources-iwin-download-safety-guide__dark-section .page-resources-iwin-download-safety-guide__list,
.page-resources-iwin-download-safety-guide__dark-section .page-resources-iwin-download-safety-guide__numbered-list {
    color: var(--text-light);
}

.page-resources-iwin-download-safety-guide__numbered-list {
    list-style-type: decimal;
}

.page-resources-iwin-download-safety-guide__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-iwin-download-safety-guide__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    min-height: 200px;
}

.page-resources-iwin-download-safety-guide__faq-list {
    margin-top: 40px;
}

.page-resources-iwin-download-safety-guide__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-resources-iwin-download-safety-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-dark);
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-resources-iwin-download-safety-guide__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-iwin-download-safety-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-iwin-download-safety-guide__faq-item.active .page-resources-iwin-download-safety-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-iwin-download-safety-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-resources-iwin-download-safety-guide__faq-item.active .page-resources-iwin-download-safety-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px 25px;
}

.page-resources-iwin-download-safety-guide__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-iwin-download-safety-guide__hero-title {
        font-size: 2.5em;
    }
    .page-resources-iwin-download-safety-guide__section-title {
        font-size: 2em;
    }
    .page-resources-iwin-download-safety-guide__features-grid,
    .page-resources-iwin-download-safety-guide__warning-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-iwin-download-safety-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-iwin-download-safety-guide__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-iwin-download-safety-guide__hero-title {
        font-size: 2em;
    }
    .page-resources-iwin-download-safety-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-iwin-download-safety-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-resources-iwin-download-safety-guide__btn-primary,
    .page-resources-iwin-download-safety-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-iwin-download-safety-guide__section-title {
        font-size: 1.8em;
    }
    .page-resources-iwin-download-safety-guide__intro-section,
    .page-resources-iwin-download-safety-guide__why-official-section,
    .page-resources-iwin-download-safety-guide__find-official-link-section,
    .page-resources-iwin-download-safety-guide__download-steps-section,
    .page-resources-iwin-download-safety-guide__identify-fake-section,
    .page-resources-iwin-download-safety-guide__security-tips-section,
    .page-resources-iwin-download-safety-guide__benefits-section,
    .page-resources-iwin-download-safety-guide__faq-section,
    .page-resources-iwin-download-safety-guide__conclusion-section {
        padding: 50px 0;
    }
    .page-resources-iwin-download-safety-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-iwin-download-safety-guide__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-iwin-download-safety-guide__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-iwin-download-safety-guide__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-iwin-download-safety-guide__faq-answer {
        padding: 0 20px;
    }
    .page-resources-iwin-download-safety-guide__faq-item.active .page-resources-iwin-download-safety-guide__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-iwin-download-safety-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-iwin-download-safety-guide__section-title {
        font-size: 1.6em;
    }
    .page-resources-iwin-download-safety-guide__list-item,
    .page-resources-iwin-download-safety-guide__paragraph,
    .page-resources-iwin-download-safety-guide__card-text {
        font-size: 0.95em;
    }
}