/* style/responsible-gaming.css */

:root {
    --page-responsible-gaming-primary-color: #FFD700;
    --page-responsible-gaming-secondary-color: #000080;
    --page-responsible-gaming-text-dark: #1a1a1a;
    --page-responsible-gaming-text-light: #ffffff;
    --page-responsible-gaming-background-light: #f5f5f5;
    --page-responsible-gaming-background-dark: #00004d;
    --page-responsible-gaming-accent-color: #0028ff; /* Complementary to primary */
    --page-responsible-gaming-border-color: #cccccc;
}

.page-responsible-gaming__hero {
    background: linear-gradient(135deg, var(--page-responsible-gaming-secondary-color) 0%, #000066 100%);
    color: var(--page-responsible-gaming-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gaming__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.page-responsible-gaming__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-responsible-gaming-primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-responsible-gaming__hero-subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

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

.page-responsible-gaming__section {
    padding: 60px 0;
    background-color: var(--page-responsible-gaming-background-light);
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__section:nth-of-type(even) {
    background-color: var(--page-responsible-gaming-background-dark);
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__section:nth-of-type(even) .page-responsible-gaming__section-title {
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.page-responsible-gaming__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-responsible-gaming__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-responsible-gaming__image-wrapper {
    text-align: center;
}

.page-responsible-gaming__image-wrapper--center {
    margin-top: 40px;
}

.page-responsible-gaming__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__text-block p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

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

.page-responsible-gaming__tool-item {
    background-color: var(--page-responsible-gaming-text-light);
    color: var(--page-responsible-gaming-text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__section:nth-of-type(even) .page-responsible-gaming__tool-item {
    background-color: var(--page-responsible-gaming-background-light);
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

.page-responsible-gaming__tool-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__tool-item p {
    font-size: 1em;
    line-height: 1.6;
}

.page-responsible-gaming__list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-responsible-gaming__list li {
    background-color: var(--page-responsible-gaming-text-light);
    color: var(--page-responsible-gaming-text-dark);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid var(--page-responsible-gaming-primary-color);
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-responsible-gaming__section:nth-of-type(even) .page-responsible-gaming__list li {
    background-color: var(--page-responsible-gaming-background-light);
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__action-text {
    font-size: 1.2em;
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__section:nth-of-type(even) .page-responsible-gaming__action-text {
    color: var(--page-responsible-gaming-primary-color);
}

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

.page-responsible-gaming__resource-list li {
    background-color: var(--page-responsible-gaming-text-light);
    color: var(--page-responsible-gaming-text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__section:nth-of-type(even) .page-responsible-gaming__resource-list li {
    background-color: var(--page-responsible-gaming-background-light);
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__resource-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__resource-list h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__resource-list p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-responsible-gaming__commitment-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-responsible-gaming__commitment-list li {
    background-color: var(--page-responsible-gaming-text-light);
    color: var(--page-responsible-gaming-text-dark);
    padding: 25px;
    border-left: 5px solid var(--page-responsible-gaming-secondary-color);
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-responsible-gaming__section:nth-of-type(even) .page-responsible-gaming__commitment-list li {
    background-color: var(--page-responsible-gaming-background-light);
    color: var(--page-responsible-gaming-text-dark);
    border-left-color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__commitment-list li strong {
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__section:nth-of-type(even) .page-responsible-gaming__commitment-list li strong {
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__related-pages {
    background-color: var(--page-responsible-gaming-background-light);
}

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

.page-responsible-gaming__related-item {
    background-color: var(--page-responsible-gaming-text-light);
    color: var(--page-responsible-gaming-text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__related-item h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-responsible-gaming__related-item h3 a {
    color: var(--page-responsible-gaming-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-responsible-gaming__related-item h3 a:hover {
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__related-item p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-responsible-gaming__cta {
    background: linear-gradient(45deg, var(--page-responsible-gaming-primary-color) 0%, #ccad00 100%);
    color: var(--page-responsible-gaming-text-dark);
    padding: 80px 0;
    text-align: center;
}

.page-responsible-gaming__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-responsible-gaming-secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__cta-description {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Buttons */
.page-responsible-gaming__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.page-responsible-gaming__btn--primary {
    background-color: var(--page-responsible-gaming-secondary-color);
    color: var(--page-responsible-gaming-primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__btn--primary:hover {
    background-color: #00004d;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-responsible-gaming__btn--secondary {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-secondary-color);
    border: 2px solid var(--page-responsible-gaming-secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__btn--secondary:hover {
    background-color: #e6c200;
    border-color: #00004d;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.page-responsible-gaming__btn--tertiary {
    background-color: var(--page-responsible-gaming-secondary-color);
    color: var(--page-responsible-gaming-text-light);
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__btn--tertiary:hover {
    background-color: #00004d;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-responsible-gaming__hero-title {
        font-size: 2.8em;
    }
    .page-responsible-gaming__hero-subtitle {
        font-size: 1.1em;
    }
    .page-responsible-gaming__section-title {
        font-size: 2em;
    }
    .page-responsible-gaming__content-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gaming__content-grid--reverse {
        grid-template-columns: 1fr;
    }
    .page-responsible-gaming__text-block, .page-responsible-gaming__image-wrapper {
        order: unset; /* Reset order for smaller screens */
    }
    .page-responsible-gaming__tools-grid, .page-responsible-gaming__resource-list, .page-responsible-gaming__commitment-list, .page-responsible-gaming__related-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gaming__commitment-list li {
        text-align: center;
    }
    .page-responsible-gaming__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 576px) {
    .page-responsible-gaming__hero-title {
        font-size: 2em;
    }
    .page-responsible-gaming__hero-subtitle {
        font-size: 1em;
    }
    .page-responsible-gaming__section {
        padding: 40px 0;
    }
    .page-responsible-gaming__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gaming__tool-item, .page-responsible-gaming__resource-list li, .page-responsible-gaming__related-item {
        padding: 20px;
    }
    .page-responsible-gaming__list li, .page-responsible-gaming__commitment-list li {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-responsible-gaming__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-responsible-gaming__cta-title {
        font-size: 1.8em;
    }
    .page-responsible-gaming__cta-description {
        font-size: 1em;
    }
}