/* style/resources.css */

/* Variables */
:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly visible card on dark background */
    --card-bg-light: #ffffff;
    --border-color: rgba(255, 255, 255, 0.15);
}

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

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

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: var(--primary-color); /* Use primary color for hero background */
    color: var(--text-light);
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Highlight with accent color */
    line-height: 1.2;
    font-weight: bold;
}

.page-resources__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

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

/* General Section Styles */
.page-resources__intro-section,
.page-resources__guide-section,
.page-resources__game-guide-section,
.page-resources__promo-section,
.page-resources__success-section,
.page-resources__news-section,
.page-resources__responsible-gambling-section,
.page-resources__faq-section,
.page-resources__cta-section {
    padding: 80px 0;
    position: relative;
}

.page-resources__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-resources__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
    opacity: 0.85;
}

/* Card Grid Layout */
.page-resources__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources__card {
    background-color: var(--card-bg-dark); /* Card background on dark section */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-light); /* Ensure light text on dark card */
    border: 1px solid var(--border-color);
}

.page-resources__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card image size */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-resources__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--secondary-color); /* Card title in accent color */
}

.page-resources__card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__card-title a:hover {
    color: #ffd700; /* Slightly brighter gold on hover */
}

.page-resources__card-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    opacity: 0.8;
    flex-grow: 1;
}

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

.page-resources__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources__btn-primary:hover {
    background-color: #ffd700; /* Slightly brighter gold on hover */
    border-color: #ffd700;
    color: var(--primary-color);
}

.page-resources__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}