/* style/responsible-gaming.css */

/* Base styles for the page content */
.page-responsible-gaming {
    color: #ffffff; /* Light text for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Inherit from body */
}

.page-responsible-gaming__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-responsible-gaming__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-responsible-gaming__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-responsible-gaming__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: -1;
}

.page-responsible-gaming__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
}

.page-responsible-gaming__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gaming__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gaming__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Section titles and descriptions */
.page-responsible-gaming__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-responsible-gaming__section-text {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 20px auto 40px auto;
}

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

.page-responsible-gaming__btn-primary {
    background-color: #CC0000; /* Primary red */
    color: #ffffff;
    border: 2px solid #CC0000;
}

.page-responsible-gaming__btn-primary:hover {
    background-color: #e60000;
    border-color: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.4);
}

.page-responsible-gaming__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-responsible-gaming__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000; /* Dark text for gold background */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-responsible-gaming__btn-tertiary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 10px 20px;
    font-size: 1em;
}

.page-responsible-gaming__btn-tertiary:hover {
    background-color: #FFD700;
    color: #000000;
    border-color: #FFD700;
    transform: translateY(-1px);
}

/* General content image styling */
.page-responsible-gaming__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 60px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Principles Section */
.page-responsible-gaming__principles-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
    border-radius: 10px;
    margin-top: 40px;
}

.page-responsible-gaming__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__principle-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-responsible-gaming__principle-card:hover {
    transform: translateY(-5px);
}

.page-responsible-gaming__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-responsible-gaming__card-text {
    color: #f0f0f0;
    font-size: 1em;
}

/* Tools Section */
.page-responsible-gaming__tools-section {
    padding: 60px 0;
}

.page-responsible-gaming__tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__tool-card {
    background-color: rgba(204, 0, 0, 0.15); /* Primary color with transparency */
    border: 1px solid rgba(204, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__tool-card:hover {
    background-color: rgba(204, 0, 0, 0.3);
}

/* Identify Section */
.page-responsible-gaming__identify-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.page-responsible-gaming__warning-signs {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 40px auto;
    text-align: left;
}

.page-responsible-gaming__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #CC0000;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #f0f0f0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Help Section */
.page-responsible-gaming__help-section {
    padding: 60px 0;
}

.page-responsible-gaming__help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__help-card {
    background-color: rgba(255, 215, 0, 0.1); /* Secondary color with transparency */
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-responsible-gaming__help-card .page-responsible-gaming__card-title {
    margin-bottom: 10px;
}

.page-responsible-gaming__help-card .page-responsible-gaming__card-text {
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Parental Control Section */
.page-responsible-gaming__parental-control-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.page-responsible-gaming__parental-control-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-responsible-gaming__control-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
}

/* FAQ Section */
.page-responsible-gaming__faq-section {
    padding: 60px 0;
}

.page-responsible-gaming__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-responsible-gaming__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    background-color: rgba(204, 0, 0, 0.2); /* Primary color with transparency */
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-question:hover {
    background-color: rgba(204, 0, 0, 0.4);
}

.page-responsible-gaming__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-responsible-gaming__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-toggle {
    transform: rotate(45deg); /* Plus to X for active state */
}

.page-responsible-gaming__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px;
}

.page-responsible-gaming__faq-answer p {
    margin: 0;
    padding-bottom: 15px; /* Add some padding at the bottom of the answer */
}