/* style/resources.css */
.page-resources {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-resources__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  overflow: hidden;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.6;
}

.page-resources__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 40px;
  color: #F0F0F0;
}

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

.page-resources__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-resources__hero-button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources__hero-button--primary:hover {
  background-color: #E0A83A;
  transform: translateY(-3px);
}

.page-resources__hero-button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources__hero-button--secondary:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

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

.page-resources__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-resources__section-title--light {
  color: #FCBC45;
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-resources__section-description--light {
  color: #F0F0F0;
}

.page-resources__articles-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-resources__article-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  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 12px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  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.6em;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-resources__article-title a:hover {
  color: #FCBC45;
}

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

.page-resources__article-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
}

.page-resources__article-button:hover {
  background-color: #E0A83A;
  transform: translateY(-2px);
}

.page-resources__section--dark {
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources__strategies-section {
  padding: 80px 0;
}

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

.page-resources__strategy-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}

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

.page-resources__strategy-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-resources__strategy-text {
  font-size: 1em;
  color: #E0E0E0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-resources__strategy-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
}

.page-resources__strategy-button:hover {
  background-color: #E0A83A;
  transform: translateY(-2px);
}

.page-resources__responsible-gaming-section {
  padding: 80px 0;
  background-color: #F0F0F0;
}

.page-resources__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-resources__responsible-gaming-image {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure image fills its flex container */
  height: auto;
}

.page-resources__responsible-gaming-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-resources__responsible-gaming-text p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444444;
}

.page-resources__responsible-gaming-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources__responsible-gaming-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources__vip-section {
  padding: 80px 0;
}

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

.page-resources__vip-feature-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #FFFFFF;
}

.page-resources__vip-feature-item:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__vip-feature-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources__vip-feature-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-resources__vip-feature-text {
  font-size: 0.95em;
  color: #E0E0E0;
}

.page-resources__vip-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  padding: 15px 30px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources__vip-button:hover {
  background-color: #E0A83A;
  transform: translateY(-3px);
}

.page-resources__join-section {
  padding: 80px 0;
  text-align: center;
  background-color: #FFFFFF;
}

.page-resources__join-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.page-resources__join-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-resources__join-button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources__join-button--primary:hover {
  background-color: #E0A83A;
  transform: translateY(-3px);
}

.page-resources__join-button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources__join-button--secondary:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__responsible-gaming-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-container {
    padding: 60px 15px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-buttons, .page-resources__join-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__hero-button, .page-resources__join-button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-resources__articles-section, .page-resources__strategies-section, .page-resources__responsible-gaming-section, .page-resources__vip-section, .page-resources__join-section {
    padding: 60px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-resources__articles-grid, .page-resources__strategies-grid, .page-resources__vip-features {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image, .page-resources__responsible-gaming-image, .page-resources__vip-feature-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
  }
  .page-resources__responsible-gaming-image {
    width: 100%; /* Important for mobile overflow */
  }
  .page-resources__responsible-gaming-text {
    min-width: unset;
  }
  /* Ensure all content area images are responsive and do not cause horizontal scroll */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__hero-container {
    min-height: 400px;
  }
}