:root {
    --primary-color: #1A2A44;
    --secondary-color: #FFCC00;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f1f3f5;
    --border-light: #e0e0e0;
}

/* Base styles for the page content, ensuring proper spacing from fixed header */
.page-resources-online-casino-games-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Overall page background */
}

/* Fixed navigation bar spacing requirement */
.page-resources-online-casino-games-guide__introduction-section {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
}

/* Global container for content width and centering */
.page-resources-online-casino-games-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section titles and descriptions */
.page-resources-online-casino-games-guide__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-resources-online-casino-games-guide__section-title--light {
    color: var(--text-light);
}

.page-resources-online-casino-games-guide__section-description {
    font-size: 18px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-casino-games-guide__section-description--light {
    color: var(--text-light);
}

/* Buttons (CTA) */
.page-resources-online-casino-games-guide__btn-primary,
.page-resources-online-casino-games-guide__btn-secondary,
.page-resources-online-casino-games-guide__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-resources-online-casino-games-guide__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-online-casino-games-guide__btn-primary:hover {
    background: #152236; /* Darkened primary */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-online-casino-games-guide__btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-online-casino-games-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-online-casino-games-guide__cta-button {
    background: linear-gradient(135deg, var(--secondary-color), #FFD700); /* Gold/yellow gradient */
    color: var(--primary-color); /* Dark text for light background */
    padding: 15px 30px;
    font-size: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-online-casino-games-guide__cta-button:hover {
    background: linear-gradient(135deg, #FFD700, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-online-casino-games-guide__cta-center {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Card styles */
.page-resources-online-casino-games-guide__card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-casino-games-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-casino-games-guide__card-icon {
    max-width: 150px; 
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px; /* Added for image style */
}

.page-resources-online-casino-games-guide__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-online-casino-games-guide__card-description {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

/* --- Introduction Section (Module 2 adapted) --- */
.page-resources-online-casino-games-guide__introduction-section {
    padding: 60px 0;
    text-align: center;
    color: var(--text-light); /* Light text for dark background */
}

.page-resources-online-casino-games-guide__dark-bg {
    background: var(--primary-color); /* Dark primary color for this section */
    color: var(--text-light);
}

.page-resources-online-casino-games-guide__main-title {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--secondary-color); /* Highlight with secondary color */
}

.page-resources-online-casino-games-guide__intro-text {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-light);
}

.page-resources-online-casino-games-guide__overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* --- Games Section (Module 3) --- */
.page-resources-online-casino-games-guide__games-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-resources-online-casino-games-guide__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-resources-online-casino-games-guide__game-category-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-online-casino-games-guide__game-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-casino-games-guide__category-image {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency, object-fit cover */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-resources-online-casino-games-guide__category-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-online-casino-games-guide__category-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1; /* Ensures text takes available space */
}

/* --- Promotions Section (Module 4) --- */
.page-resources-online-casino-games-guide__promotions-section {
    padding: 80px 0;
    text-align: center;
}

.page-resources-online-casino-games-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-casino-games-guide__promo-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-casino-games-guide__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-casino-games-guide__promo-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency, object-fit cover */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-casino-games-guide__promo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-online-casino-games-guide__promo-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

/* --- Blog Section (Module 5) --- */
.page-resources-online-casino-games-guide__blog-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-resources-online-casino-games-guide__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-online-casino-games-guide__blog-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-online-casino-games-guide__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-casino-games-guide__blog-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.page-resources-online-casino-games-guide__blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources-online-casino-games-guide__blog-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-resources-online-casino-games-guide__blog-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-online-casino-games-guide__blog-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-online-casino-games-guide__blog-excerpt {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-online-casino-games-guide__read-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto; /* Pushes to bottom */
}

.page-resources-online-casino-games-guide__read-more:hover {
    color: #e6b800; /* Darkened secondary */
    text-decoration: underline;
}

/* --- FAQ Section --- */
.page-resources-online-casino-games-guide__faq-section {
    padding: 80px 0;
    background-color: var(--text-light); /* White background for FAQ */
}

.page-resources-online-casino-games-guide__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-resources-online-casino-games-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-online-casino-games-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-online-casino-games-guide__faq-item.active .page-resources-online-casino-games-guide__faq-answer {
    max-height: 2000px !important; /* Important for override */
    padding: 20px 15px !important; /* Important for override */
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-resources-online-casino-games-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-online-casino-games-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-online-casino-games-guide__faq-question:active {
    background: #eeeeee;
}

.page-resources-online-casino-games-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color); /* Ensure good contrast */
}