:root {
  --page-resources-primary-color: #1A2B4C;
  --page-resources-secondary-color: #FF8C00;
  --page-resources-text-color: #333;
  --page-resources-light-text-color: #f8f8f8;
  --page-resources-background-light: #f4f7f6;
  --page-resources-background-dark: #1A2B4C;
  --page-resources-card-background: #ffffff;
  --page-resources-border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-resources__hero {
  background: linear-gradient(135deg, var(--page-resources-background-dark), var(--page-resources-primary-color));
  color: var(--page-resources-light-text-color);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: rotate(45deg);
  z-index: 0;
}

.page-resources__hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  transform: rotate(-30deg);
  z-index: 0;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-resources-light-text-color);
  position: relative;
  z-index: 1;
}

.page-resources__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--page-resources-light-text-color);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* General Section Styling */
.page-resources__section {
  padding: 60px 0;
}

.page-resources__section--intro {
  background-color: var(--page-resources-background-light);
}

.page-resources__section--benefits {
  background-color: #e9ecef; /* Slightly darker light background */
}

.page-resources__section--articles {
  background-color: var(--page-resources-background-light);
}

.page-resources__section--faq {
  background-color: #e9ecef;
}

.page-resources__section--responsible-gaming {
  background-color: var(--page-resources-background-light);
}

.page-resources__section-title {
  font-size: 2.5em;
  color: var(--page-resources-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-resources-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources__section-description {
  text-align: center;
  font-size: 1.1em;
  max-width: 800px;
  margin: -20px auto 60px;
  color: #555;
}

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

.page-resources__btn--primary {
  background-color: var(--page-resources-secondary-color);
  color: var(--page-resources-light-text-color);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.page-resources__btn--primary:hover {
  background-color: #e67e00; /* Slightly darker orange */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
}

.page-resources__btn--secondary {
  background-color: var(--page-resources-primary-color);
  color: var(--page-resources-light-text-color);
  border: 2px solid var(--page-resources-primary-color);
  box-shadow: 0 2px 10px rgba(26, 43, 76, 0.2);
}

.page-resources__btn--secondary:hover {
  background-color: #0f1c3a; /* Slightly darker blue */
  border-color: #0f1c3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 43, 76, 0.3);
}

.page-resources__btn--lg {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources__btn--cta {
  background-color: var(--page-resources-secondary-color);
  color: var(--page-resources-light-text-color);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.page-resources__btn--cta:hover {
  background-color: #e67e00;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.7);
}

/* Benefit Cards */
.page-resources__grid {
  display: grid;
  gap: 30px;
}

.page-resources__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources__benefit-card {
  background-color: var(--page-resources-card-background);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-resources__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-resources__card-title {
  font-size: 1.6em;
  color: var(--page-resources-primary-color);
  margin-bottom: 15px;
}

.page-resources__benefit-card p {
  color: #666;
}

/* Article Grid */
.page-resources__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-resources__article-card {
  background-color: var(--page-resources-card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-resources__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--page-resources-border-color);
}

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

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  min-height: 3em; /* Ensure consistent height for titles */
}

.page-resources__article-title a {
  color: var(--page-resources-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: var(--page-resources-secondary-color);
}

.page-resources__article-summary {
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-resources__article-card .page-resources__btn {
  margin-top: auto; /* Push button to the bottom */
  align-self: flex-start;
}

/* FAQ Section */
.page-resources__faq-item {
  background-color: var(--page-resources-card-background);
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--page-resources-secondary-color);
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: var(--page-resources-primary-color);
  margin-bottom: 10px;
}

.page-resources__faq-answer {
  color: #555;
}

/* Responsible Gaming Section */
.page-resources__section--responsible-gaming ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources__section--responsible-gaming ul li {
  background-color: var(--page-resources-card-background);
  border-left: 4px solid var(--page-resources-primary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-resources__section--responsible-gaming ul li p {
  margin: 0;
  color: #444;
}

.page-resources__section--responsible-gaming ul li strong {
  color: var(--page-resources-secondary-color);
}

/* CTA Banner */
.page-resources__cta-banner {
  background: linear-gradient(90deg, var(--page-resources-primary-color), var(--page-resources-secondary-color));
  padding: 80px 0;
  text-align: center;
  color: var(--page-resources-light-text-color);
  margin-top: 60px;
}

.page-resources__cta-content {
  max-width: 900px;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-resources-light-text-color);
  font-weight: bold;
}

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__cta-banner {
    padding: 60px 0;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-subtitle {
    font-size: 1em;
  }
  .page-resources__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources__btn--lg {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-resources__card-title {
    font-size: 1.4em;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__faq-question {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
}