/* style/responsible-gaming.css */

/* Variables */
:root {
    --page-responsible-gaming-primary-color: #1A0D3B;
    --page-responsible-gaming-secondary-color: #FFD700;
    --page-responsible-gaming-text-light: #FFFFFF;
    --page-responsible-gaming-text-dark: #1A0D3B;
    --page-responsible-gaming-accent-dark: #B39700; /* Darker shade of secondary for text on light bg */
    --page-responsible-gaming-bg-light: #F8F8F8;
    --page-responsible-gaming-bg-dark: #2A1A4A; /* Slightly lighter than primary for readability */
    --page-responsible-gaming-border-color: #3C2D5C;
    --page-responsible-gaming-shadow: rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-responsible-gaming-text-dark);
    background-color: var(--page-responsible-gaming-bg-light);
}

.page-responsible-gaming .highlight {
    color: var(--page-responsible-gaming-secondary-color);
}

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

.page-responsible-gaming__section {
    padding: 60px 0;
    text-align: center;
}

.page-responsible-gaming__section--dark {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherits from section--dark or default */
    font-weight: bold;
}

.page-responsible-gaming__section--dark .page-responsible-gaming__section-title {
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__section-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Hero Section */
.page-responsible-gaming__hero {
    background: linear-gradient(135deg, var(--page-responsible-gaming-primary-color), var(--page-responsible-gaming-bg-dark));
    padding: 100px 0;
    color: var(--page-responsible-gaming-text-light);
    text-align: center;
}

.page-responsible-gaming__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-responsible-gaming__hero-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-responsible-gaming__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
}

.page-responsible-gaming__btn--primary {
    background-color: var(--page-responsible-gaming-secondary-color);
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__btn--primary:hover {
    background-color: var(--page-responsible-gaming-accent-dark);
    transform: translateY(-2px);
}

.page-responsible-gaming__btn--secondary {
    background-color: transparent;
    color: var(--page-responsible-gaming-secondary-color);
    border-color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__btn--secondary:hover {
    background-color: var(--page-responsible-gaming-secondary-color);
    color: var(--page-responsible-gaming-text-dark);
    transform: translateY(-2px);
}

.page-responsible-gaming__btn--text {
    background: none;
    border: none;
    color: var(--page-responsible-gaming-secondary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-responsible-gaming__btn--text:hover {
    text-decoration: underline;
    color: var(--page-responsible-gaming-accent-dark);
}

.page-responsible-gaming__btn--link {
    background: none;
    border: none;
    color: var(--page-responsible-gaming-secondary-color);
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-responsible-gaming__btn--link:hover {
    color: var(--page-responsible-gaming-accent-dark);
    text-decoration: none;
}

/* Content Grid */
.page-responsible-gaming__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-responsible-gaming__content-grid--reversed {
    flex-direction: row-reverse;
}

.page-responsible-gaming__text-block {
    flex: 1;
    padding: 20px;
}

.page-responsible-gaming__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-responsible-gaming__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
    font-weight: bold;
}

.page-responsible-gaming__section--dark .page-responsible-gaming__sub-title {
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-responsible-gaming__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px var(--page-responsible-gaming-shadow);
}

.page-responsible-gaming__image--center {
    display: block;
    margin: 40px auto 0 auto;
}

/* Tools Grid */
.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: var(--page-responsible-gaming-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--page-responsible-gaming-border-color);
}

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

.page-responsible-gaming__tool-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-responsible-gaming__tool-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__tool-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

/* List styles */
.page-responsible-gaming__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-responsible-gaming__list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__list-item-icon {
    color: var(--page-responsible-gaming-secondary-color);
    font-size: 1.5em;
    line-height: 1;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Support List */
.page-responsible-gaming__support-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__support-item {
    background-color: var(--page-responsible-gaming-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--page-responsible-gaming-border-color);
}

.page-responsible-gaming__support-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.page-responsible-gaming__support-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__support-item p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

/* Tips List */
.page-responsible-gaming__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gaming__tips-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__tips-list .page-responsible-gaming__list-item-icon {
    color: var(--page-responsible-gaming-secondary-color);
    font-size: 1.5em;
    line-height: 1;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-responsible-gaming__tip-highlight {
    color: var(--page-responsible-gaming-primary-color);
}

/* FAQ Accordion */
.page-responsible-gaming__faq-accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-responsible-gaming__faq-item {
    background-color: var(--page-responsible-gaming-bg-dark);
    border: 1px solid var(--page-responsible-gaming-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-responsible-gaming__faq-question {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-text-light);
    padding: 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-question:hover {
    background-color: var(--page-responsible-gaming-bg-dark);
}

.page-responsible-gaming__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-responsible-gaming__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-responsible-gaming__faq-answer {
    padding: 0 20px;
    background-color: var(--page-responsible-gaming-bg-dark);
    color: var(--page-responsible-gaming-text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-responsible-gaming__faq-answer p {
    margin: 15px 0;
    font-size: 1em;
}

/* CTA Section */
.page-responsible-gaming__section--cta {
    background-color: var(--page-responsible-gaming-secondary-color);
    color: var(--page-responsible-gaming-primary-color);
    padding: 80px 0;
}

.page-responsible-gaming__section--cta .page-responsible-gaming__section-title,
.page-responsible-gaming__section--cta .page-responsible-gaming__section-intro {
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__cta-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-responsible-gaming__section--cta .page-responsible-gaming__btn--primary {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-secondary-color);
    border-color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__section--cta .page-responsible-gaming__btn--primary:hover {
    background-color: var(--page-responsible-gaming-bg-dark);
    border-color: var(--page-responsible-gaming-bg-dark);
}

.page-responsible-gaming__section--cta .page-responsible-gaming__btn--secondary {
    color: var(--page-responsible-gaming-primary-color);
    border-color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__section--cta .page-responsible-gaming__btn--secondary:hover {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__section--cta .page-responsible-gaming__btn--text {
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__section--cta .page-responsible-gaming__btn--text:hover {
    color: var(--page-responsible-gaming-bg-dark);
}

/* Detail Pages List */
.page-responsible-gaming__section--detail-pages {
    background-color: var(--page-responsible-gaming-bg-light);
    color: var(--page-responsible-gaming-text-dark);
    padding-bottom: 80px;
}

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

.page-responsible-gaming__detail-card {
    background-color: var(--page-responsible-gaming-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid var(--page-responsible-gaming-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-responsible-gaming__detail-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__detail-title a {
    color: var(--page-responsible-gaming-primary-color);
    text-decoration: none;
}

.page-responsible-gaming__detail-title a:hover {
    color: var(--page-responsible-gaming-secondary-color);
    text-decoration: underline;
}

.page-responsible-gaming__detail-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gaming__hero-title {
        font-size: 2.8em;
    }
    .page-responsible-gaming__section-title {
        font-size: 2em;
    }
    .page-responsible-gaming__content-grid {
        flex-direction: column;
    }
    .page-responsible-gaming__content-grid--reversed {
        flex-direction: column;
    }
    .page-responsible-gaming__text-block, .page-responsible-gaming__image-block {
        padding: 10px;
    }
    .page-responsible-gaming__tools-grid, .page-responsible-gaming__support-list, .page-responsible-gaming__detail-cards {
        grid-template-columns: 1fr;
    }
    .page-responsible-gaming__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-responsible-gaming__hero-title {
        font-size: 2.2em;
    }
    .page-responsible-gaming__hero-description {
        font-size: 1.1em;
    }
    .page-responsible-gaming__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gaming__sub-title {
        font-size: 1.5em;
    }
    .page-responsible-gaming__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gaming__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-responsible-gaming__faq-answer p {
        font-size: 0.95em;
    }
    .page-responsible-gaming__section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-responsible-gaming__hero-title {
        font-size: 1.8em;
    }
    .page-responsible-gaming__hero-description {
        font-size: 1em;
    }
    .page-responsible-gaming__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gaming__sub-title {
        font-size: 1.3em;
    }
    .page-responsible-gaming__btn {
        width: 100%;
        text-align: center;
    }
    .page-responsible-gaming__list li, .page-responsible-gaming__tips-list li {
        font-size: 0.95em;
    }
}