/* style/responsible-gambling.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Deep Sky Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #2c3e50;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-responsible-gambling-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    overflow: hidden;
}

.page-responsible-gambling-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-responsible-gambling-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-responsible-gambling-hero .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-hero .cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-hero .hero-image {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.page-responsible-gambling-hero .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-responsible-gambling section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-responsible-gambling section:nth-of-type(even) {
    background-color: #e9ecef;
}

.page-responsible-gambling h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-responsible-gambling h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-responsible-gambling h3 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-responsible-gambling p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-responsible-gambling ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-responsible-gambling ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

.page-responsible-gambling a:hover {
    color: var(--primary-color);
}

.page-responsible-gambling .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling .cta-button:hover {
    background: #1a7ad9;
    transform: translateY(-2px);
}

.page-responsible-gambling .primary-button {
    background: var(--primary-color);
    color: var(--text-dark);
}

.page-responsible-gambling .primary-button:hover {
    background: #e6c200;
    color: var(--text-dark);
}

/* Content Cards */
.page-responsible-gambling .content-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-responsible-gambling .content-card h3 a {
    color: var(--text-dark);
    font-size: 1.5em;
}

.page-responsible-gambling .content-card h3 a:hover {
    color: var(--primary-color);
}

.page-responsible-gambling .content-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-responsible-gambling-faq {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.page-responsible-gambling-faq .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-responsible-gambling-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling-faq .faq-question:hover {
    background: #f5f5f5;
}

.page-responsible-gambling-faq .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--text-dark);
}

.page-responsible-gambling-faq .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-responsible-gambling-faq .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-responsible-gambling-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #f9f9f9;
    padding: 0 25px;
}

.page-responsible-gambling-faq .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.page-responsible-gambling-faq .faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling-hero h1 {
        font-size: 2.8em;
    }
    .page-responsible-gambling h2 {
        font-size: 2em;
    }
    .page-responsible-gambling h3 {
        font-size: 1.6em;
    }
    .page-responsible-gambling .content-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling-hero {
        padding: 60px 15px;
    }
    .page-responsible-gambling-hero h1 {
        font-size: 2.2em;
    }
    .page-responsible-gambling-hero p {
        font-size: 1em;
    }
    .page-responsible-gambling-hero .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-responsible-gambling section {
        padding: 40px 0;
    }
    .page-responsible-gambling h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-responsible-gambling h3 {
        font-size: 1.4em;
    }
    .page-responsible-gambling p {
        font-size: 0.95em;
    }
    .page-responsible-gambling ul li {
        font-size: 0.9em;
    }
    .page-responsible-gambling .content-card {
        padding: 20px;
    }
    .page-responsible-gambling-faq .faq-question {
        padding: 15px 20px;
    }
    .page-responsible-gambling-faq .faq-question h3 {
        font-size: 1.1em;
    }
    .page-responsible-gambling-faq .faq-toggle {
        font-size: 1.5em;
    }
    .page-responsible-gambling-faq .faq-answer {
        padding: 0 20px;
    }
    .page-responsible-gambling-faq .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling-hero h1 {
        font-size: 1.8em;
    }
    .page-responsible-gambling h2 {
        font-size: 1.5em;
    }
    .page-responsible-gambling h3 {
        font-size: 1.2em;
    }
    .page-responsible-gambling .cta-button {
        width: 100%;
        text-align: center;
    }
}