/* style/responsible-gambling.css */
:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --border-light: #e0e0e0;
    --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
}

.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-light); /* Main content text color for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from body */
}

/* Fixed Nav Bar Spacing - Desktop */
.page-responsible-gambling__hero-banner {
    padding-top: 120px; /* Adjust based on actual header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    text-align: center;
    color: var(--text-light);
}

.page-responsible-gambling__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-responsible-gambling__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

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

.page-responsible-gambling__cta-button:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-responsible-gambling__link-in-title:hover {
    color: #e6b800;
    text-decoration: underline;
}

.page-responsible-gambling__section {
    padding: 40px 20px;
    background-color: var(--dark-bg-1);
}

.page-responsible-gambling__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__light-bg {
    background: var(--text-light);
    color: var(--text-dark);
}

.page-responsible-gambling__card {
    background: var(--text-light);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.page-responsible-gambling__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-responsible-gambling__sub-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-responsible-gambling__list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-responsible-gambling__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling p a,
.page-responsible-gambling li a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-responsible-gambling p a:hover,
.page-responsible-gambling li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.page-responsible-gambling__link-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* FAQ Styles */
.page-responsible-gambling__section-faq {
    padding-bottom: 60px;
}

.page-responsible-gambling__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-responsible-gambling__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-responsible-gambling__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-responsible-gambling__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-responsible-gambling__faq-question:active {
  background: #eeeeee;
}

.page-responsible-gambling__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-responsible-gambling__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-responsible-gambling__main-title {
        font-size: 2.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling__sub-title {
        font-size: 1.4em;
    }
    .page-responsible-gambling__container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling__hero-banner {
        padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-responsible-gambling__main-title {
        font-size: 2em;
    }
    .page-responsible-gambling__hero-description {
        font-size: 1em;
    }
    .page-responsible-gambling__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gambling__section {
        padding: 20px 15px;
    }
    .page-responsible-gambling__container {
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-responsible-gambling__sub-title {
        font-size: 1.2em;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-responsible-gambling__list {
        margin-left: 15px;
    }
    .page-responsible-gambling img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-responsible-gambling__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-responsible-gambling__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-responsible-gambling__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-responsible-gambling__faq-answer {
        padding: 0 15px;
    }
    
    .page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-answer {
        padding: 15px !important;
    }
}