/* style/resources-hi88-bonus-analysis.css */

.page-resources-hi88-bonus-analysis {
    font-family: 'Arial', sans-serif;
    color: #F5F5F5; /* Light grey for main text on dark background */
    line-height: 1.6;
    background-color: #0A192F; /* Main brand color */
}

.page-resources-hi88-bonus-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-hi88-bonus-analysis__hero {
    background: linear-gradient(135deg, #0A192F 0%, #3a4b6b 100%); /* Dark gradient for hero */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-resources-hi88-bonus-analysis__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, rgba(10, 25, 47, 0) 70%);
    animation: rotateBackground 20s linear infinite;
    z-index: 0;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-resources-hi88-bonus-analysis__hero > div {
    position: relative;
    z-index: 1;
}

.page-resources-hi88-bonus-analysis__title {
    font-size: 3.5em;
    color: #FFD700; /* Accent color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-resources-hi88-bonus-analysis__subtitle {
    font-size: 1.5em;
    color: #B0C4DE; /* Lighter text for subtitle */
    margin-bottom: 40px;
}

.page-resources-hi88-bonus-analysis__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Accent color for CTA */
    color: #0A192F; /* Dark text on accent background */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-hi88-bonus-analysis__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources-hi88-bonus-analysis__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-hi88-bonus-analysis__section:last-of-type {
    border-bottom: none;
}

.page-resources-hi88-bonus-analysis__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Accent color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources-hi88-bonus-analysis__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFD700;
}

.page-resources-hi88-bonus-analysis__sub-section-title {
    font-size: 1.8em;
    color: #B0C4DE; /* Lighter text for sub-section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-resources-hi88-bonus-analysis p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #F5F5F5;
}

.page-resources-hi88-bonus-analysis ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #F5F5F5;
}

.page-resources-hi88-bonus-analysis ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-hi88-bonus-analysis strong {
    color: #FFD700;
}

.page-resources-hi88-bonus-analysis__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-resources-hi88-bonus-analysis__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-resources-hi88-bonus-analysis__content-grid.reverse-order {
        grid-template-columns: 1fr 1fr;
        direction: rtl; /* For visual reordering */
    }
    .page-resources-hi88-bonus-analysis__content-grid.reverse-order > .page-resources-hi88-bonus-analysis__text-content {
        direction: ltr;
    }
    .page-resources-hi88-bonus-analysis__content-grid.reverse-order > .page-resources-hi88-bonus-analysis__image-wrapper {
        direction: ltr;
    }
}

.page-resources-hi88-bonus-analysis__image-wrapper {
    text-align: center;
}

.page-resources-hi88-bonus-analysis__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #FFD700;
}

.page-resources-hi88-bonus-analysis__image-wrapper--center {
    grid-column: 1 / -1;
    margin-top: 40px;
}

.page-resources-hi88-bonus-analysis__cta-buttons {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .page-resources-hi88-bonus-analysis__cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.page-resources-hi88-bonus-analysis__cta-button--primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-resources-hi88-bonus-analysis__cta-button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-resources-hi88-bonus-analysis__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-resources-hi88-bonus-analysis__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-resources-hi88-bonus-analysis__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .page-resources-hi88-bonus-analysis__title {
        font-size: 2.5em;
    }
    .page-resources-hi88-bonus-analysis__subtitle {
        font-size: 1.2em;
    }
    .page-resources-hi88-bonus-analysis__section-title {
        font-size: 2em;
    }
    .page-resources-hi88-bonus-analysis__sub-section-title {
        font-size: 1.5em;
    }
    .page-resources-hi88-bonus-analysis__hero {
        padding: 80px 0;
    }
    .page-resources-hi88-bonus-analysis__content-grid.reverse-order {
        direction: ltr; /* Reset for mobile */
    }
}

/* Ensure contrast for text on background */
p, li {
    color: #F5F5F5; /* WCAG AA contrast with #0A192F */
}

h1, h2, h3, h4, h5, h6 {
    color: #FFD700; /* WCAG AA contrast with #0A192F */
}

.page-resources-hi88-bonus-analysis__cta-button {
    color: #0A192F; /* Dark text on #FFD700 */
}

.page-resources-hi88-bonus-analysis__cta-button--secondary {
    color: #FFD700; /* Accent text on transparent/dark background */
}

.page-resources-hi88-bonus-analysis__cta-button--secondary:hover {
    color: #0A192F; /* Dark text on #FFD700 hover */
}