/* style/resources.css */

/* Base styles for the page-resources scope */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body bg */
    background-color: transparent; /* Body background handled by shared.css var(--dark-bg-1) */
}

.page-resources__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources__dark-bg {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-resources__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff; /* Ensure contrast */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-resources__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #ffffff; /* Ensure contrast */
}

.page-resources__text-block {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #f0f0f0; /* Slightly lighter for readability on dark background */
    text-align: left;
}

.page-resources__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    text-align: left;
    color: #f0f0f0;
}

.page-resources__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjusted padding-top for header offset */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.page-resources__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-resources__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, NO color change */
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    line-height: 1.2;
    max-width: 900px;
}

.page-resources__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
}

.page-resources__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-resources__btn-primary,
.page-resources__btn-secondary,
.page-resources__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-resources__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-resources__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-resources__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #26A9E0;
    color: #ffffff;
    border: 1px solid #26A9E0;
    border-radius: 5px;
}

.page-resources__btn-small:hover {
    background-color: #1e87bb;
    border-color: #1e87bb;
}

.page-resources__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Image styles */
.page-resources__image-full-width {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Introduction Section */
.page-resources__introduction-section {
    background-color: #ffffff; /* Light background for this section */
    color: #333333; /* Dark text for contrast */
}

.page-resources__introduction-section .page-resources__section-title,
.page-resources__introduction-section .page-resources__sub-title {
    color: #333333;
}

.page-resources__introduction-section .page-resources__text-block,
.page-resources__introduction-section .page-resources__list-item {
    color: #555555;
}

/* Sports Betting Guide Section */
.page-resources__sports-betting-guide {
    background-color: #f5f5f5; /* Light background */
    color: #333333; /* Dark text */
}

.page-resources__sports-betting-guide .page-resources__section-title,
.page-resources__sports-betting-guide .page-resources__sub-title {
    color: #333333;
}

.page-resources__sports-betting-guide .page-resources__text-block,
.page-resources__sports-betting-guide .page-resources__list-item {
    color: #555555;
}

/* Casino Guide Section (Dark background) */
.page-resources__casino-guide {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-resources__casino-guide .page-resources__section-title,
.page-resources__casino-guide .page-resources__sub-title {
    color: #ffffff;
}

.page-resources__casino-guide .page-resources__text-block,
.page-resources__casino-guide .page-resources__list-item {
    color: #f0f0f0;
}

/* Other Games Section */
.page-resources__other-games-section {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
}

.page-resources__other-games-section .page-resources__section-title,
.page-resources__other-games-section .page-resources__sub-title {
    color: #333333;
}

.page-resources__other-games-section .page-resources__text-block,
.page-resources__other-games-section .page-resources__list-item {
    color: #555555;
}

/* Promotions Section (Dark background) */
.page-resources__promotions-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}