/* style/responsible-gambling.css */
:root {
    --primary-color: #1A1A1A;
    --secondary-color: #FFD700;
    --text-light: #F0F0F0;
    --text-dark: #1A1A1A;
    --bg-dark: #1A1A1A;
    --bg-light: #FFFFFF;
    --accent-dark: #CCAA00;
}

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

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

.page-responsible-gambling-hero {
    position: relative;
    width: 100%;
    height: 600px; /* Chiều cao cố định cho hero section */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--text-light);
}

.page-responsible-gambling-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-responsible-gambling-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Lớp phủ tối để văn bản dễ đọc */
    z-index: 2;
}

.page-responsible-gambling-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

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

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

.page-responsible-gambling-cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling-cta-button:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

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

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

.page-responsible-gambling-section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-responsible-gambling-intro p, .page-responsible-gambling-risks p, .page-responsible-gambling-tools p, .page-responsible-gambling-help p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-responsible-gambling-features {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-responsible-gambling-feature-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-responsible-gambling-feature-item:hover {
    transform: translateY(-10px);
}

.page-responsible-gambling-feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.page-responsible-gambling-feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-responsible-gambling-feature-item p {
    color: var(--text-light);
    font-size: 1em;
}

.page-responsible-gambling-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-responsible-gambling-list li {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-responsible-gambling-list li p {
    margin: 0;
    color: var(--text-light);
}

.page-responsible-gambling-list li::before {
    content: '✅';
    font-size: 1.2em;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.page-responsible-gambling-image-full {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-responsible-gambling-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-responsible-gambling-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-responsible-gambling-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-responsible-gambling-card h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-responsible-gambling-card p {
    color: var(--text-light);
    font-size: 1em;
    flex-grow: 1;
}

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

.page-responsible-gambling-card-button:hover {
    background-color: var(--accent-dark);
}

.page-responsible-gambling-note {
    font-style: italic;
    margin-top: 40px;
    font-size: 0.95em;
    color: rgba(240, 240, 240, 0.8);
}

.page-responsible-gambling-tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 1000px;
}

.page-responsible-gambling-tips-list li {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-responsible-gambling-tip-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.page-responsible-gambling-tips-list li strong {
    color: var(--secondary-color);
    font-size: 1.2em;
    margin-bottom: 10px;
    display: block;
}

.page-responsible-gambling-tips-list li p {
    color: var(--text-light);
    font-size: 1em;
    text-align: center;
}

.page-responsible-gambling-text-center {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--text-light);
}

.page-responsible-gambling-faq-items {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #2a2a2a;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #444;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--secondary-color);
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Đủ cao để chứa nội dung */
    padding: 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-responsible-gambling-title {
        font-size: 3em;
    }
    .page-responsible-gambling-section-title {
        font-size: 2em;
    }
    .page-responsible-gambling-features {
        flex-direction: column;
        align-items: center;
    }
    .page-responsible-gambling-feature-item {
        max-width: 90%;
    }
    .page-responsible-gambling-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling-tips-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling-hero {
        height: 500px;
    }
    .page-responsible-gambling-title {
        font-size: 2.5em;
    }
    .page-responsible-gambling-subtitle {
        font-size: 1.1em;
    }
    .page-responsible-gambling-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gambling-section {
        padding: 40px 0;
    }
    .page-responsible-gambling-section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling-list li {
        padding: 15px;
    }
    .page-responsible-gambling-card {
        padding: 20px;
    }
    .page-responsible-gambling-card h3 {
        font-size: 1.4em;
    }
    .page-responsible-gambling-card-image {
        height: 180px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling-hero {
        height: 400px;
    }
    .page-responsible-gambling-title {
        font-size: 2em;
    }
    .page-responsible-gambling-subtitle {
        font-size: 1em;
    }
    .page-responsible-gambling-section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-responsible-gambling-list li::before {
        margin-bottom: 10px;
    }
    .page-responsible-gambling-tips-list {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling-feature-item {
        min-width: unset;
        width: 100%;
    }
}