/* style/resources.css */

/* Variables for consistency */
:root {
    --page-resources-primary-color: #1A2E47; /* Midnight Blue */
    --page-resources-accent-color: #FFD700; /* Gold */
    --page-resources-text-light: #f8f8f8;
    --page-resources-text-dark: #333333;
    --page-resources-bg-light: #ffffff;
    --page-resources-bg-dark: #122030; /* Slightly lighter than primary for text on dark bg */
    --page-resources-border-color: #e0e0e0;
    --page-resources-transition: all 0.3s ease;
    --page-resources-spacing-large: 80px;
    --page-resources-spacing-medium: 40px;
    --page-resources-spacing-small: 20px;
}

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

.page-resources__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-resources-spacing-small);
}

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, var(--page-resources-primary-color) 0%, #3a5c80 100%);
    padding: var(--page-resources-spacing-large) 0;
    text-align: center;
    color: var(--page-resources-text-light);
}

.page-resources__hero-title {
    font-size: 2.8em;
    margin-bottom: var(--page-resources-spacing-small);
    color: var(--page-resources-accent-color);
    line-height: 1.2;
}

.page-resources__hero-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto var(--page-resources-spacing-medium);
    opacity: 0.9;
}

.page-resources__hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--page-resources-spacing-small);
    flex-wrap: wrap;
}

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: var(--page-resources-transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.page-resources__btn--primary {
    background-color: var(--page-resources-accent-color);
    color: var(--page-resources-primary-color);
    border-color: var(--page-resources-accent-color);
}

.page-resources__btn--primary:hover {
    background-color: #e6c200; /* Manual darken */
    color: var(--page-resources-primary-color);
    transform: translateY(-2px);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: var(--page-resources-accent-color);
    border-color: var(--page-resources-accent-color);
}

.page-resources__btn--secondary:hover {
    background-color: var(--page-resources-accent-color);
    color: var(--page-resources-primary-color);
    transform: translateY(-2px);
}

.page-resources__btn--link {
    background-color: transparent;
    color: var(--page-resources-primary-color);
    border: none;
    padding: 8px 0;
    font-weight: bold;
    text-decoration: underline;
}

.page-resources__btn--link:hover {
    color: var(--page-resources-accent-color);
    text-decoration: none;
}

.page-resources__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

/* Section Styling */
.page-resources__section {
    padding: var(--page-resources-spacing-large) 0;
    border-bottom: 1px solid var(--page-resources-border-color);
}

.page-resources__section:last-of-type {
    border-bottom: none;
}

.page-resources__section-title {
    font-size: 2.2em;
    color: var(--page-resources-primary-color);
    text-align: center;
    margin-bottom: var(--page-resources-spacing-small);
    position: relative;
    padding-bottom: 10px;
}

.page-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-resources-accent-color);
    border-radius: 2px;
}

.page-resources__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--page-resources-spacing-medium);
    color: #555;
}

/* Article Grid */
.page-resources__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-resources-spacing-medium);
}

.page-resources__article-card {
    background-color: var(--page-resources-bg-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--page-resources-transition);
    display: flex;
    flex-direction: column;
}

.page-resources__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-resources__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-resources__article-content {
    padding: var(--page-resources-spacing-small);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-resources__article-title a {
    color: var(--page-resources-primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-resources__article-title a:hover {
    color: var(--page-resources-accent-color);
}

.page-resources__article-summary {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-resources__article-meta {
    font-size: 0.85em;
    color: #999;
    margin-bottom: 15px;
}

.page-resources__article-category {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 3px;
    color: #777;
}

/* In-depth Reviews */
.page-resources__in-depth-reviews {
    background-color: var(--page-resources-bg-dark); /* Dark background for this section */
    color: var(--page-resources-text-light);
}

.page-resources__in-depth-reviews .page-resources__section-title,
.page-resources__in-depth-reviews .page-resources__section-description {
    color: var(--page-resources-text-light);
}

.page-resources__in-depth-reviews .page-resources__section-title::after {
    background-color: var(--page-resources-accent-color);
}

.page-resources__content-block {
    display: flex;
    align-items: center;
    gap: var(--page-resources-spacing-medium);
    margin-bottom: var(--page-resources-spacing-large);
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources__content-block:last-child {
    margin-bottom: 0;
}

.page-resources__content-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-resources__content-image--left {
    margin-right: var(--page-resources-spacing-small);
}

.page-resources__content-image--right {
    margin-left: var(--page-resources-spacing-small);
}

.page-resources__text-content {
    flex: 2;
    min-width: 300px;
}

.page-resources__text-content h3 {
    font-size: 1.8em;
    color: var(--page-resources-accent-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-resources__text-content p {
    margin-bottom: 1em;
    font-size: 1.05em;
    color: #c0c0c0; /* Lighter text for dark background */
}

/* Game Strategies */
.page-resources__game-strategies {
    background-color: #f9f9f9;
}

.page-resources__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-resources-spacing-medium);
}

.page-resources__strategy-item {
    background-color: var(--page-resources-bg-light);
    border: 1px solid var(--page-resources-border-color);
    border-radius: 8px;
    padding: var(--page-resources-spacing-medium);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--page-resources-transition);
}

.page-resources__strategy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources__strategy-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.page-resources__strategy-item h3 {
    font-size: 1.5em;
    color: var(--page-resources-primary-color);
    margin-bottom: 15px;
}

.page-resources__strategy-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}

.page-resources__strategy-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #555;
}

.page-resources__strategy-item ul li::before {
    content: '✓'; /* Checkmark */
    color: var(--page-resources-accent-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.page-resources__cta-bottom {
    text-align: center;
    margin-top: var(--page-resources-spacing-large);
}

.page-resources__cta-bottom p {
    font-size: 1.1em;
    margin-bottom: var(--page-resources-spacing-small);
}

/* Responsible Gambling */
.page-resources__responsible-gambling {
    background-color: var(--page-resources-primary-color);
    color: var(--page-resources-text-light);
    text-align: center;
}

.page-resources__responsible-gambling .page-resources__section-title,
.page-resources__responsible-gambling .page-resources__section-description {
    color: var(--page-resources-text-light);
}

.page-resources__responsible-gambling .page-resources__section-title::after {
    background-color: var(--page-resources-accent-color);
}

.page-resources__checklist {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto var(--page-resources-spacing-medium);
    text-align: left;
}

.page-resources__checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #c0c0c0;
}

.page-resources__checklist-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    filter: invert(70%) sepia(80%) saturate(2000%) hue-rotate(30deg) brightness(100%) contrast(100%); /* Gold tint */
}