/* style/beginner-guide.css */

/* Base styles for the page content */
.page-beginner-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Let body's background show through */
}

/* Fixed header offset */
.page-beginner-guide__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* General container for content sections */
.page-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section styling for alternating backgrounds */
.page-beginner-guide__content-section {
    padding: 60px 0;
}

.page-beginner-guide__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-beginner-guide__light-bg {
    background-color: #ffffff; /* White background for light sections */
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-beginner-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
    background-color: #017439; /* Hero background */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-beginner-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-beginner-guide__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-beginner-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle background image */
}

/* Section Titles */
.page-beginner-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-beginner-guide__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: inherit;
}

/* Paragraphs */
.page-beginner-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
    color: inherit;
}

/* Links within content */
.page-beginner-guide__dark-bg a {
    color: #FFFF00; /* Yellow on dark green background */
    text-decoration: underline;
}
.page-beginner-guide__dark-bg a:hover {
    text-decoration: none;
    color: #ffffff; /* Lighter yellow or white on hover for dark background */
}

.page-beginner-guide__light-bg a {
    color: #017439; /* Brand green on white background */
    text-decoration: underline;
}
.page-beginner-guide__light-bg a:hover {
    text-decoration: none;
    color: #005a2e; /* Darker green on hover for light background */
}

/* Lists */
.page-beginner-guide__feature-list,
.page-beginner-guide__step-list,
.page-beginner-guide__promo-list,
.page-beginner-guide__support-options,
.page-beginner-guide__tip-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-beginner-guide__list-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
    color: inherit;
}

.page-beginner-guide__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFFF00; /* Checkmark color */
    font-weight: bold;
}

/* Buttons */
.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary,
.page-beginner-guide__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-beginner-guide__btn-primary {
    background-color: #C30808; /* Custom Register/Login color */
    color: #FFFF00; /* Custom Register/Login font color */
    border: 2px solid #C30808;
}

.page-beginner-guide__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom Register/Login font color */
    border: 2px solid #FFFF00;
}

.page-beginner-guide__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

.page-beginner-guide__btn-tertiary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-beginner-guide__btn-tertiary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-beginner-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image styling */
.page-beginner-guide__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-beginner-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
}

/* Game Categories */
.page-beginner-guide__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__game-card {
    background-color: #017439; /* Card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-beginner-guide__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-beginner-guide__game-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    padding: 0 15px;
    color: #FFFF00;
}

.page-beginner-guide__game-card-title a {
    color: #FFFF00;
    text-decoration: none;
}

.page-beginner-guide__game-card-title a:hover {
    text-decoration: underline;
}

.page-beginner-guide__game-card-description {
    font-size: 0.95em;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-beginner-guide__faq-list {
    margin-top: 30px;
}

.page-beginner-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-beginner-guide__faq-item.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #ffffff;
}

.page-beginner-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-beginner-guide__faq-question .page-beginner-guide__faq-text a {
    color: #FFFF00; /* FAQ link color, on dark background */
    text-decoration: underline;
}