/* style/resources.css */
.page-resources {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-resources__hero-section {
  background-color: #000000; /* Auxiliary color for hero background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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, transform 0.3s ease;
  font-size: 1.1em;
}

.page-resources__hero-button--primary {
  background-color: #FFD700; /* Primary color */
  color: #000000; /* Auxiliary color */
}

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

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

.page-resources__hero-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

/* General Section Styling */
.page-resources__overview-section,
.page-resources__articles-section,
.page-resources__security-section,
.page-resources__games-section,
.page-resources__promotions-section,
.page-resources__support-section,
.page-resources__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources__overview-section,
.page-resources__security-section,
.page-resources__games-section,
.page-resources__support-section {
  background-color: #f9f9f9;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 25px;
  font-weight: bold;
}

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

/* Articles Section */
.page-resources__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-image {
  width: 100%;
  height: 250px; /* Ensure images are not small icons */
  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.5em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: bold;
}

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

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

.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: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__article-button:hover {
  background-color: #e6c200;
}

/* CTA Section */
.page-resources__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 0;
}

.page-resources__cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.page-resources__cta-content {
  flex: 1;
}

.page-resources__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-resources__cta-image {
  flex-shrink: 0;
  width: 45%; /* Adjust as needed */
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Security Section */
.page-resources__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-resources__security-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__security-item-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__security-item-description {
  color: #555555;
}

.page-resources__security-image {
  margin-top: 50px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-resources__games-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-resources__games-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease;
}

.page-resources__games-item:hover {
  transform: translateY(-3px);
}

.page-resources__games-item-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-resources__games-item-description {
  color: #666666;
  font-size: 0.95em;
}

.page-resources__games-image {
  margin-top: 50px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-resources__promotions-section {
  background-color: #FFD700;
  color: #000000;
  padding: 70px 0;
}

.page-resources__promotions-section .page-resources__section-title {
  color: #000000;
}

.page-resources__promotions-section .page-resources__section-description {
  color: #333333;
}

.page-resources__promotions-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-resources__promotions-button {
  background-color: #000000;
  color: #FFD700;
}

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

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

.page-resources__promotions-button--secondary:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Mobile Experience Section */
.page-resources__mobile-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-resources__mobile-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-resources__mobile-image {
  flex-shrink: 0;
  width: 45%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__mobile-content {
  flex: 1;
}

.page-resources__mobile-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #000000;
  color: #FFD700;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Support Section */
.page-resources__support-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-resources__support-button {
  background-color: #FFD700;
  color: #000000;
}

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

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

.page-resources__support-button--secondary:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Final CTA Section */
.page-resources__final-cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 0;
}

.page-resources__final-cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__final-cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-resources__final-cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources__final-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title,
  .page-resources__cta-title,
  .page-resources__final-cta-title {
    font-size: 2em;
  }
  .page-resources__cta-container,
  .page-resources__mobile-container {
    flex-direction: column;
    text-align: center;
  }
  .page-resources__cta-image,
  .page-resources__mobile-image {
    width: 80%;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-resources {
    padding-top: var(--header-offset, 120px);
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__hero-button {
    width: 100%;
  }
  .page-resources__section-title,
  .page-resources__cta-title,
  .page-resources__final-cta-title {
    font-size: 1.8em;
  }
  .page-resources__article-grid,
  .page-resources__security-list,
  .page-resources__games-list {
    grid-template-columns: 1fr;
  }
  .page-resources__cta-image,
  .page-resources__mobile-image {
    width: 100%;
  }
  /* Mobile content area images must be responsive */
  .page-resources__overview-section img,
  .page-resources__articles-section img,
  .page-resources__security-section img,
  .page-resources__games-section img,
  .page-resources__promotions-section img,
  .page-resources__mobile-section img,
  .page-resources__support-section img,
  .page-resources__final-cta-section img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no image is smaller than 200px in content area */
  .page-resources__article-image {
    height: 200px; /* Minimum height for card images */
  }
  .page-resources__cta-image,
  .page-resources__security-image,
  .page-resources__games-image,
  .page-resources__mobile-image {
    min-height: 200px; /* Ensure content images are not too small */
    object-fit: contain; /* Adjust object-fit for smaller screens if needed */
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title,
  .page-resources__cta-title,
  .page-resources__final-cta-title {
    font-size: 1.5em;
  }
  .page-resources__hero-section,
  .page-resources__overview-section,
  .page-resources__articles-section,
  .page-resources__cta-section,
  .page-resources__security-section,
  .page-resources__games-section,
  .page-resources__promotions-section,
  .page-resources__mobile-section,
  .page-resources__support-section,
  .page-resources__final-cta-section {
    padding: 40px 0;
  }
}