.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-resources__hero {
  position: relative;
  background: #000080; /* Dark Blue */
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-resources__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:nổ_hũ_88_win,abstract,patterns,gold_blue_gradient]') no-repeat center center/cover;
  opacity: 0.3;
  z-index: 1;
}

.page-resources__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 128, 0.8), rgba(255, 215, 0, 0.5)); /* Dark Blue to Gold Gradient */
  z-index: 2;
}

.page-resources__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-resources__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  border-color: #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border-color: #FFD700;
}

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Dark Blue */
  transform: translateY(-2px);
}

.page-resources__section {
  padding: 60px 0;
}

.page-resources__section--dark {
  background-color: #000080; /* Dark Blue */
  color: #f0f0f0;
}

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

.page-resources__section-title {
  font-size: 2.8em;
  color: #000080; /* Dark Blue */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  border-radius: 2px;
}

.page-resources__section-title--light {
  color: #FFD700; /* Gold */
}

.page-resources__section-title--light::after {
  background-color: #f0f0f0;
}

.page-resources__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources__text--light {
  color: #e0e0e0;
}

.page-resources__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-resources__introduction .page-resources__text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

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

.page-resources__image-caption {
  margin-top: 15px;
  font-style: italic;
  color: #555;
  font-size: 0.95em;
}

.page-resources__section--dark .page-resources__image-caption {
  color: #ccc;
}

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

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

.page-resources__category-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-resources__card-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-resources__btn--outline {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border-color: #FFD700;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-resources__btn--outline:hover {
  background-color: #FFD700;
  color: #000080; /* Dark Blue */
}

.page-resources__articles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-resources__article-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__article-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__article-title {
  font-size: 1.7em;
  color: #000080; /* Dark Blue */
  margin-bottom: 15px;
}

.page-resources__article-title a {
  color: #000080;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #FFD700; /* Gold */
}

.page-resources__article-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__btn--text {
  display: inline-block;
  color: #000080; /* Dark Blue */
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  position: relative;
  padding-right: 20px;
  transition: color 0.3s ease;
}

.page-resources__btn--text::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}

.page-resources__btn--text:hover {
  color: #FFD700; /* Gold */
}

.page-resources__btn--text:hover::after {
  right: -5px;
}

.page-resources__cta-content {
  text-align: center;
}

.page-resources__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-resources__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-resources__responsible-gambling .page-resources__text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-resources__articles-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-resources__article-item {
    flex-direction: row;
  }
  .page-resources__article-img {
    width: 40%;
    height: auto;
  }
  .page-resources__article-content {
    width: 60%;
  }
}

@media (min-width: 1024px) {
  .page-resources__articles-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-resources__article-item {
    flex-direction: column;
  }
  .page-resources__article-img {
    width: 100%;
    height: 250px;
  }
  .page-resources__article-content {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.2em;
  }
  .page-resources__hero-actions {
    flex-direction: column;
  }
  .page-resources__btn {
    width: 100%;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-title {
    font-size: 1.5em;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
}