/* style/resources-understanding-new88-rtp.css */
.page-resources-understanding-new88-rtp {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.page-resources-understanding-new88-rtp__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-understanding-new88-rtp__hero {
    background: linear-gradient(135deg, #000080, #1a1a4d);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-understanding-new88-rtp__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-resources-understanding-new88-rtp__hero > * {
    position: relative;
    z-index: 2;
}

.page-resources-understanding-new88-rtp__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-resources-understanding-new88-rtp__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-understanding-new88-rtp__subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #f0f0f0;
}

.page-resources-understanding-new88-rtp__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
}

.page-resources-understanding-new88-rtp__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark Blue */
    border: 2px solid #FFD700;
}

.page-resources-understanding-new88-rtp__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources-understanding-new88-rtp__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-resources-understanding-new88-rtp__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-resources-understanding-new88-rtp__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-resources-understanding-new88-rtp__section {
    padding: 60px 0;
}

.page-resources-understanding-new88-rtp__section--dark {
    background-color: #000080;
    color: #ffffff;
}

.page-resources-understanding-new88-rtp__section--dark .page-resources-understanding-new88-rtp__section-title,
.page-resources-understanding-new88-rtp__section--dark .page-resources-understanding-new88-rtp__text {
    color: #ffffff;
}

.page-resources-understanding-new88-rtp__section-title {
    font-size: 2.5em;
    color: #000080; /* Dark Blue */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-understanding-new88-rtp__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources-understanding-new88-rtp__section--dark .page-resources-understanding-new88-rtp__section-title::after {
    background-color: #FFD700;
}

.page-resources-understanding-new88-rtp__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.page-resources-understanding-new88-rtp__section--dark .page-resources-understanding-new88-rtp__text {
    color: #f0f0f0;
}

.page-resources-understanding-new88-rtp__image-inline {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-understanding-new88-rtp__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-understanding-new88-rtp__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-understanding-new88-rtp__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-understanding-new88-rtp__game-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-understanding-new88-rtp__game-title {
    font-size: 1.8em;
    color: #000080;
    margin-bottom: 10px;
}

.page-resources-understanding-new88-rtp__game-desc {
    color: #555;
    margin-bottom: 20px;
}

.page-resources-understanding-new88-rtp__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-understanding-new88-rtp__list li {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    color: #333;
}

.page-resources-understanding-new88-rtp__section--dark .page-resources-understanding-new88-rtp__list li {
    background-color: #1a1a4d;
    color: #f0f0f0;
    border-left-color: #FFD700;
}

.page-resources-understanding-new88-rtp__list li strong {
    color: #000080;
}

.page-resources-understanding-new88-rtp__section--dark .page-resources-understanding-new88-rtp__list li strong {
    color: #FFD700;
}

.page-resources-understanding-new88-rtp__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-understanding-new88-rtp__promo-card {
    background-color: #1a1a4d;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-resources-understanding-new88-rtp__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-understanding-new88-rtp__promo-image {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-understanding-new88-rtp__promo-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-resources-understanding-new88-rtp__promo-desc {
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-resources-understanding-new88-rtp__text--center {
    text-align: center;
    margin-top: 30px;
}

.page-resources-understanding-new88-rtp__faq-container {
    margin-top: 40px;
}

.page-resources-understanding-new88-rtp__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-resources-understanding-new88-rtp__faq-question {
    font-size: 1.3em;
    color: #000080;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.page-resources-understanding-new88-rtp__faq-question:hover {
    background-color: #e0e0e0;
}

.page-resources-understanding-new88-rtp__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-resources-understanding-new88-rtp__faq-item.active .page-resources-understanding-new88-rtp__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-resources-understanding-new88-rtp__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #555;
}

.page-resources-understanding-new88-rtp__faq-item.active .page-resources-understanding-new88-rtp__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-bottom: 20px;
}

.page-resources-understanding-new88-rtp__faq-answer p {
    margin-top: 0;
}

.page-resources-understanding-new88-rtp__cta-bottom {
    background: linear-gradient(135deg, #000080, #1a1a4d);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-understanding-new88-rtp__cta-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-resources-understanding-new88-rtp__cta-bottom > * {
    position: relative;
    z-index: 2;
}

.page-resources-understanding-new88-rtp__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-resources-understanding-new88-rtp__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-understanding-new88-rtp .highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources-understanding-new88-rtp__title {
        font-size: 2.8em;
    }
    .page-resources-understanding-new88-rtp__subtitle {
        font-size: 1.3em;
    }
    .page-resources-understanding-new88-rtp__section-title {
        font-size: 2em;
    }
    .page-resources-understanding-new88-rtp__game-grid,
    .page-resources-understanding-new88-rtp__promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-understanding-new88-rtp__hero,
    .page-resources-understanding-new88-rtp__cta-bottom {
        padding: 60px 0;
    }
    .page-resources-understanding-new88-rtp__title {
        font-size: 2.2em;
    }
    .page-resources-understanding-new88-rtp__subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .page-resources-understanding-new88-rtp__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-understanding-new88-rtp__btn--secondary {
        margin-left: 10px;
    }
    .page-resources-understanding-new88-rtp__section {
        padding: 40px 0;
    }
    .page-resources-understanding-new88-rtp__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-understanding-new88-rtp__text {
        font-size: 1em;
    }
    .page-resources-understanding-new88-rtp__game-grid,
    .page-resources-understanding-new88-rtp__promo-cards {
        grid-template-columns: 1fr;
    }
    .page-resources-understanding-new88-rtp__list li,
    .page-resources-understanding-new88-rtp__faq-question,
    .page-resources-understanding-new88-rtp__faq-answer p {
        font-size: 1em;
    }
    .page-resources-understanding-new88-rtp__faq-question {
        padding: 15px 20px;
    }
    .page-resources-understanding-new88-rtp__faq-question::after {
        right: 20px;
    }
    .page-resources-understanding-new88-rtp__faq-answer {
        padding: 0 20px;
        padding-bottom: 15px;
    }
    .page-resources-understanding-new88-rtp__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-understanding-new88-rtp__btn--secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-resources-understanding-new88-rtp__title {
        font-size: 1.8em;
    }
    .page-resources-understanding-new88-rtp__subtitle {
        font-size: 0.9em;
    }
    .page-resources-understanding-new88-rtp__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-resources-understanding-new88-rtp__section-title {
        font-size: 1.5em;
    }
}