.page-resources {
  --primary-color: #4A148C;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #f8f8f8;
  --bg-color-dark: #333333;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

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

.page-resources section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources .section-title {
  font-size: 2.8em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources .section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color-dark);
}

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-resources .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-resources .hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: 900;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources .hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Section Intro */
.page-resources .section-intro {
  background-color: var(--bg-color-light);
  padding: 80px 0;
}

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

.page-resources .intro-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-resources .intro-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-resources .card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-height: 200px;
}

.page-resources .card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources .card-text {
  font-size: 1em;
  color: var(--text-color-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources .card-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.page-resources .card-link:hover {
  color: var(--secondary-color);
}

.page-resources .card-link .arrow {
  margin-left: 8px;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-resources .card-link:hover .arrow {
  transform: translateX(5px);
}

/* Section Guides */
.page-resources .section-guides {
  background-color: var(--card-bg);
  padding: 80px 0;
}

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

.page-resources .category-item {
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.page-resources .category-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-height: 200px;
}

.page-resources .category-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources .category-text {
  font-size: 0.95em;
  color: var(--text-color-dark);
  margin-bottom: 20px;
}

.page-resources .category-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources .category-link:hover {
  color: var(--primary-color);
}

.page-resources .full-guide-cta {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  border-radius: 10px;
}

.page-resources .full-guide-cta p {
  font-size: 1.3em;
  margin-bottom: 25px;
  font-weight: 500;
}

/* Section Downloads */
.page-resources .section-downloads {
  background-color: var(--bg-color-light);
  padding: 80px 0;
}

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

.page-resources .download-item {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-resources .download-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
  min-height: 200px;
}

.page-resources .download-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources .download-text {
  font-size: 1em;
  color: var(--text-color-dark);
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-resources .download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources .download-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.page-resources .download-btn.primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources .download-btn.primary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.page-resources .download-btn.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources .download-btn.secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
}

.page-resources .download-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: var(--primary-color);
  font-weight: bold;
}

/* Section FAQ */
.page-resources .section-faq {
  background-color: var(--card-bg);
  padding: 80px 0;
}

.page-resources .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #6A1B9A;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  font-weight: bold;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-color-dark);
  border-radius: 0 0 8px 8px;
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
  font-size: 1.0em;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px;
}

.faq-item.active .faq-question {
  background: #6A1B9A;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Section Responsible Gaming */
.page-resources .section-responsible-gaming {
  background-color: var(--bg-color-light);
  padding: 80px 0;
}

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

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

.page-resources .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-resources .feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
  min-height: 150px;
}

.page-resources .feature-title {
  font-size: 1.7em;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: bold;
}

.page-resources .feature-text {
  font-size: 1em;
  color: var(--text-color-dark);
}

.page-resources .cta-responsible {
  text-align: center;
  margin-top: 60px;
}

/* Section Blog Previews */
.page-resources .section-blog-previews {
  background-color: var(--card-bg);
  padding: 80px 0;
}

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

.page-resources .blog-card {
  background: var(--card-bg);
  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;
  display: flex;
  flex-direction: column;
}

.page-resources .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-resources .blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-resources .blog-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: bold;
}

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

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

.page-resources .blog-excerpt {
  font-size: 0.95em;
  color: var(--text-color-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources .blog-date {
  font-size: 0.85em;
  color: #777;
  margin-top: auto;
}

.page-resources .cta-blog {
  text-align: center;
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources .section-title {
    font-size: 2.2em;
  }
  .page-resources .hero-title {
    font-size: 3em;
  }
  .page-resources .hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .section-title {
    font-size: 1.8em;
  }
  .page-resources .section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources .hero-section {
    padding: 60px 0;
  }
  .page-resources .hero-title {
    font-size: 2.5em;
  }
  .page-resources .hero-description {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources .intro-grid, .page-resources .guide-categories, .page-resources .download-grid, .page-resources .responsible-features, .page-resources .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-resources .card-title, .page-resources .category-title, .page-resources .download-title, .page-resources .feature-title, .page-resources .blog-title {
    font-size: 1.5em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer p {
    padding: 10px 0;
  }
  .faq-item.active .faq-answer {
    padding: 10px 20px;
  }
  .page-resources .download-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-resources .download-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-title {
    font-size: 2em;
  }
  .page-resources .hero-description {
    font-size: 0.9em;
  }
  .page-resources .section-title {
    font-size: 1.6em;
  }
  .page-resources .section-description {
    font-size: 0.9em;
  }
  .page-resources .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
  .faq-answer p {
    font-size: 0.9em;
  }
  .page-resources .card-image, .page-resources .category-icon, .page-resources .download-image, .page-resources .feature-icon {
    max-width: 180px;
  }
}