/* style/resources-game-strategies-tips.css */

/* Base styles for the page */
.page-resources-game-strategies-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-resources-game-strategies-tips__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #017439; /* Primary color for hero background */
    color: #FFFFFF; /* White text for dark background */
    overflow: hidden; /* Prevent image overflow */
}

.page-resources-game-strategies-tips__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.page-resources-game-strategies-tips__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for title, good contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-game-strategies-tips__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-resources-game-strategies-tips__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-game-strategies-tips__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

/* General Section Styling */
.page-resources-game-strategies-tips__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Primary color for section titles */
}

.page-resources-game-strategies-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-resources-game-strategies-tips__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Color Contrast Adaptation */
.page-resources-game-strategies-tips__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-resources-game-strategies-tips__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-resources-game-strategies-tips__dark-bg .page-resources-game-strategies-tips__section-title {
    color: #FFFF00; /* Ensure visibility on dark background */
}

/* Buttons */
.page-resources-game-strategies-tips__btn-primary,
.page-resources-game-strategies-tips__btn-secondary,
.page-resources-game-strategies-tips__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-game-strategies-tips__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-game-strategies-tips__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-resources-game-strategies-tips__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color for secondary */
    border: 2px solid #FFFF00;
}

.page-resources-game-strategies-tips__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439;
}

.page-resources-game-strategies-tips__btn-tertiary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-resources-game-strategies-tips__btn-tertiary:hover {
    background-color: #005f2c;
    border-color: #005f2c;
}

/* Core Strategies Section */
.page-resources-game-strategies-tips__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-game-strategies-tips__strategy-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFFFFF;
}

.page-resources-game-strategies-tips__strategy-card .page-resources-game-strategies-tips__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Ensure title visibility */
}

.page-resources-game-strategies-tips__strategy-card .page-resources-game-strategies-tips__card-text {
    font-size: 1em;
}

/* Game Specific Strategies Section */
.page-resources-game-strategies-tips__game-strategy-item {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #e0e0e0;
}

.page-resources-game-strategies-tips__game-strategy-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-resources-game-strategies-tips__game-strategy-subtitle {
    font-size: 2em;
    color: #017439;
    margin-bottom: 20px;
    text-align: center;
}

/* Advanced Tips Section */
.page-resources-game-strategies-tips__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-game-strategies-tips__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-game-strategies-tips__list-item strong {
    color: #FFFF00; /* Highlight important keywords */
}

/* Responsible Gaming Section */
.page-resources-game-strategies-tips__responsible-gaming-section .page-resources-game-strategies-tips__btn-primary {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-resources-game-strategies-tips__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-game-strategies-tips__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}