/* style/responsible-gaming.css */

/* Biến CSS */
:root {
  --page-responsible-gaming-primary-color: #0A192F;
  --page-responsible-gaming-secondary-color: #FFD700;
  --page-responsible-gaming-text-light: #F0F0F0;
  --page-responsible-gaming-text-dark: #333333;
  --page-responsible-gaming-background-light: #f9f9f9;
  --page-responsible-gaming-border-color: #3e4a5e;
}

/* Đảm bảo độ tương phản cho tất cả văn bản */
.page-responsible-gaming h1,
.page-responsible-gaming h2,
.page-responsible-gaming h3,
.page-responsible-gaming p,
.page-responsible-gaming li,
.page-responsible-gaming a {
  color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__hero {
  background: var(--page-responsible-gaming-primary-color);
  padding: 80px 20px;
  text-align: center;
  color: var(--page-responsible-gaming-text-light);
  position: relative;
  overflow: hidden;
}

.page-responsible-gaming__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(255, 215, 0, 0.1));
    z-index: 0;
}

.page-responsible-gaming__hero-title {
  font-size: 3.5em;
  color: var(--page-responsible-gaming-secondary-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.page-responsible-gaming__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--page-responsible-gaming-text-light);
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

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

.page-responsible-gaming__section {
  padding: 60px 0;
  background-color: var(--page-responsible-gaming-primary-color);
  color: var(--page-responsible-gaming-text-light);
  border-bottom: 1px solid var(--page-responsible-gaming-border-color);
}

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

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

.page-responsible-gaming__intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 50px auto;
  line-height: 1.6;
  color: var(--page-responsible-gaming-text-light);
}

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

@media (min-width: 768px) {
  .page-responsible-gaming__content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.page-responsible-gaming__sub-title {
  font-size: 1.8em;
  color: var(--page-responsible-gaming-secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-responsible-gaming__list li {
  background: rgba(255, 215, 0, 0.05);
  margin-bottom: 10px;
  padding: 12px 20px;
  border-left: 4px solid var(--page-responsible-gaming-secondary-color);
  border-radius: 5px;
  font-size: 1.05em;
  line-height: 1.6;
}

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

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

.page-responsible-gaming__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

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

.page-responsible-gaming__image-wrapper--wide {
    grid-column: 1 / -1;
    margin-top: 40px;
}

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

.page-responsible-gaming__card {
  background-color: rgba(255, 215, 0, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-responsible-gaming__card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 215, 0, 0.15);
}

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

.page-responsible-gaming__card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin-top: 25px;
  cursor: pointer;
}

.page-responsible-gaming__btn--primary {
  background-color: var(--page-responsible-gaming-secondary-color);
  color: var(--page-responsible-gaming-primary-color);
  border: 2px solid var(--page-responsible-gaming-secondary-color);
}

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

.page-responsible-gaming__btn--secondary {
  background-color: transparent;
  color: var(--page-responsible-gaming-secondary-color);
  border: 2px solid var(--page-responsible-gaming-secondary-color);
  margin-left: 15px;
}

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

.page-responsible-gaming__btn--link {
  color: var(--page-responsible-gaming-secondary-color);
  text-decoration: underline;
  font-size: 1em;
  padding: 5px 0;
  margin-top: 10px;
  display: inline-block;
  background: none;
  border: none;
}

.page-responsible-gaming__btn--link:hover {
  color: var(--page-responsible-gaming-text-light);
}

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

.page-responsible-gaming__detail-item {
  background-color: rgba(255, 215, 0, 0.08);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-responsible-gaming__detail-item:hover {
  transform: translateY(-5px);
}

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

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

.page-responsible-gaming__detail-title a:hover {
  text-decoration: underline;
}

.page-responsible-gaming__detail-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--page-responsible-gaming-text-light);
  margin-bottom: 20px;
}

.page-responsible-gaming__cta {
  background-color: var(--page-responsible-gaming-secondary-color);
  padding: 80px 20px;
  text-align: center;
}

.page-responsible-gaming__cta-content .page-responsible-gaming__section-title {
  color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__cta-content .page-responsible-gaming__section-title::after {
    background-color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__cta-content .page-responsible-gaming__intro-text {
  color: var(--page-responsible-gaming-primary-color);
  margin-bottom: 40px;
}

.page-responsible-gaming__cta-buttons .page-responsible-gaming__btn {
  margin: 0 10px 20px 10px;
}

.page-responsible-gaming__cta-buttons .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__cta-buttons .page-responsible-gaming__btn--primary:hover {
  background-color: transparent;
  color: var(--page-responsible-gaming-primary-color);
  border-color: var(--page-responsible-gaming-primary-color);
}

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

.page-responsible-gaming__cta-buttons .page-responsible-gaming__btn--secondary:hover {
  background-color: var(--page-responsible-gaming-primary-color);
  color: var(--page-responsible-gaming-secondary-color);
  border-color: var(--page-responsible-gaming-primary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-responsible-gaming__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 1.1em;
  }
  .page-responsible-gaming__section-title {
    font-size: 2.2em;
  }
  .page-responsible-gaming__sub-title {
    font-size: 1.5em;
  }
  .page-responsible-gaming__intro-text {
    font-size: 1em;
  }
  .page-responsible-gaming__text-content p,
  .page-responsible-gaming__list li,
  .page-responsible-gaming__card p,
  .page-responsible-gaming__detail-description {
    font-size: 0.95em;
  }
}

@media (max-width: 767px) {
  .page-responsible-gaming__hero {
    padding: 60px 15px;
  }
  .page-responsible-gaming__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-responsible-gaming__section {
    padding: 40px 0;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-responsible-gaming__intro-text {
    margin-bottom: 30px;
  }
  .page-responsible-gaming__content-grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gaming__image-wrapper--wide {
    margin-top: 20px;
  }
  .page-responsible-gaming__btn {
    font-size: 1em;
    padding: 10px 20px;
    margin: 10px 5px;
  }
  .page-responsible-gaming__btn--secondary {
    margin-left: 0;
  }
  .page-responsible-gaming__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-responsible-gaming__cta-buttons .page-responsible-gaming__btn {
    width: 80%;
    margin-left: 0;
    margin-right: 0;
  }
}