/* style/resources-understanding-90-ok.css */

/* Base styles for the page content */
.page-resources-understanding-90-ok {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--background-color, #ffffff); /* Ensure contrast with body background */
}

.page-resources-understanding-90-ok__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-resources-understanding-90-ok__hero-section,
.page-resources-understanding-90-ok__about-section,
.page-resources-understanding-90-ok__why-choose-section,
.page-resources-understanding-90-ok__game-types-section,
.page-resources-understanding-90-ok__promotions-section,
.page-resources-understanding-90-ok__get-started-section,
.page-resources-understanding-90-ok__security-section,
.page-resources-understanding-90-ok__support-section,
.page-resources-understanding-90-ok__faq-section,
.page-resources-understanding-90-ok__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Header offset for the first section */
.page-resources-understanding-90-ok__hero-section {
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #26A9E0, #1a8cc2);
    color: #ffffff;
}

.page-resources-understanding-90-ok__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-resources-understanding-90-ok__light-bg {
    background-color: #ffffff; /* Auxiliary color */
    color: #333333;
}

/* Titles and descriptions */
.page-resources-understanding-90-ok__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-understanding-90-ok__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources-understanding-90-ok__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherits from section background */
}

.page-resources-understanding-90-ok__section-description {
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Buttons */
.page-resources-understanding-90-ok__cta-buttons,
.page-resources-understanding-90-ok__cta-center,
.page-resources-understanding-90-ok__cta-buttons-inline {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-understanding-90-ok__btn-primary,
.page-resources-understanding-90-ok__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-understanding-90-ok__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources-understanding-90-ok__btn-primary:hover {
    background-color: #d16a06;
    border-color: #d16a06;
    transform: translateY(-2px);
}

.page-resources-understanding-90-ok__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-understanding-90-ok__dark-bg .page-resources-understanding-90-ok__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-resources-understanding-90-ok__light-bg .page-resources-understanding-90-ok__btn-secondary {
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-resources-understanding-90-ok__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-resources-understanding-90-ok__text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-understanding-90-ok__text-link:hover {
    color: #1a8cc2;
    text-decoration: underline;
}

/* Image styling */
.page-resources-understanding-90-ok__image-wrapper {
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-understanding-90-ok__image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Content grid for text and image sections */
.page-resources-understanding-90-ok__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-resources-understanding-90-ok__content-grid:nth-child(even) .page-resources-understanding-90-ok__text-block {
    order: 2; /* Reverse order for alternating layout */
}

/* Feature cards */
.page-resources-understanding-90-ok__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-understanding-90-ok__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-resources-understanding-90-ok__feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-understanding-90-ok__feature-card .page-resources-understanding-90-ok__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-resources-understanding-90-ok__feature-card p {
    color: #f0f0f0;
}

/* Game cards */
.page-resources-understanding-90-ok__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-understanding-90-ok__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-resources-understanding-90-ok__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-understanding-90-ok__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 15px;
}

.page-resources-understanding-90-ok__game-card .page-resources-understanding-90-ok__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
    padding: 0 15px;
}

.page-resources-understanding-90-ok__game-card p {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    flex-grow: 1; /* Push content to bottom */
}

/* Promotions cards */
.page-resources-understanding-90-ok__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-understanding-90-ok__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-resources-understanding-90-ok__promo-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-understanding-90-ok__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 15px;
}

.page-resources-understanding-90-ok__promo-card .page-resources-understanding-90-ok__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
    padding: 0 15px;
}

.page-resources-understanding-90-ok__promo-card p {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px;
    flex-grow: 1;
}

/* Get Started Steps */
.page-resources-understanding-90-ok__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-understanding-90-ok__step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-resources-understanding-90-ok__step-card .page-resources-understanding-90-ok__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-resources-understanding-90-ok__step-card p {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Support Channels */
.page-resources-understanding-90-ok__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-understanding-90-ok__channel-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-understanding-90-ok__channel-card .page-resources-understanding-90-ok__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-resources-understanding-90-ok__channel-card p {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-resources-understanding-90-ok__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
    text-align: left;
}

.page-resources-understanding-90-ok__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-understanding-90-ok__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-resources-understanding-90-ok__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-understanding-90-ok__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Ensure h3 inside is not too large */
}

.page-resources-understanding-90-ok__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-resources-understanding-90-ok__faq-item.active .page-resources-understanding-90-ok__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-understanding-90-ok__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-resources-understanding-90-ok__faq-item.active .page-resources-understanding-90-ok__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to reveal content */
    padding: 15px 20px 20px 20px;
}

.page-resources-understanding-90-ok__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Conclusion Section */
.page-resources-understanding-90-ok__conclusion-section {
    padding-bottom: 80px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-understanding-90-ok__hero-title {
        font-size: 2.8em;
    }

    .page-resources-understanding-90-ok__section-title {
        font-size: 2em;
    }

    .page-resources-understanding-90-ok__content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .page-resources-understanding-90-ok__content-grid .page-resources-understanding-90-ok__text-block {
        order: initial; /* Reset order for mobile */
    }
    .page-resources-understanding-90-ok__image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources-understanding-90-ok__hero-section,
    .page-resources-understanding-90-ok__about-section,
    .page-resources-understanding-90-ok__why-choose-section,
    .page-resources-understanding-90-ok__game-types-section,
    .page-resources-understanding-90-ok__promotions-section,
    .page-resources-understanding-90-ok__get-started-section,
    .page-resources-understanding-90-ok__security-section,
    .page-resources-understanding-90-ok__support-section,
    .page-resources-understanding-90-ok__faq-section,
    .page-resources-understanding-90-ok__conclusion-section {
        padding: 60px 0;
    }
}