.page-resources {
  background-color: #1a1a2e;
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

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

.page-resources__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-resources__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-resources__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-resources__card-image {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #00CED1; /* Teal for card titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources__card-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-resources__card-link {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1a1a2e;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

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

/* HERO Section */
.page-resources__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 120px; /* Adjust for fixed header */
  background: linear-gradient(135deg, #1a1a2e 0%, #3a3a5e 100%);
}

.page-resources__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources__hero-image-item {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #00CED1; /* Teal button */
  color: #1a1a2e;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 206, 209, 0.4);
}

.page-resources__cta-button:hover {
  background: #00b3b6;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.6);
}

/* Platform Review Section */
.page-resources__platform-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.page-resources__platform-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__platform-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #FFD700;
}

.page-resources__platform-info {
  flex-grow: 1;
  text-align: left;
}

.page-resources__platform-name {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700; /* Gold for platform names */
  margin-bottom: 5px;
}

.page-resources__platform-name a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__platform-name a:hover {
  color: #00CED1;
  text-decoration: underline;
}

.page-resources__platform-description {
  font-size: 15px;
  color: #e0e0e0;
  line-height: 1.5;
}

.page-resources__platform-button {
  display: inline-block;
  background-color: #00CED1; /* Teal button */
  color: #1a1a2e;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.page-resources__platform-button:hover {
  background-color: #00b3b6;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-resources__faq-section {
  background-color: #1a1a2e;
}

.page-resources__faq-list {
  margin-top: 30px;
}

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold for FAQ questions */
  pointer-events: none;
}

.page-resources__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #00CED1;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.02);
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__faq-answer p {
  font-size: 16px;
  color: #e0e0e0;
  margin: 0;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__section-title {
    font-size: 32px;
  }
  .page-resources__hero-title {
    font-size: 42px;
  }
  .page-resources__hero-description {
    font-size: 18px;
  }
  .page-resources__card-title {
    font-size: 22px;
  }
  .page-resources__platform-name {
    font-size: 20px;
  }
  .page-resources__platform-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-bottom: 40px;
  }
  .page-resources__section {
    padding: 40px 15px;
  }
  .page-resources__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-resources__hero-title {
    font-size: 36px;
  }
  .page-resources__hero-description {
    font-size: 16px;
  }
  .page-resources__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-resources__content-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__card {
    padding: 20px;
  }
  .page-resources__card-image {
    height: 200px;
  }
  .page-resources__card-title {
    font-size: 20px;
  }
  .page-resources__card-text {
    font-size: 15px;
  }
  .page-resources__platform-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  .page-resources__platform-icon {
    margin-bottom: 15px;
  }
  .page-resources__platform-info {
    text-align: center;
  }
  .page-resources__platform-name {
    font-size: 18px;
  }
  .page-resources__platform-description {
    font-size: 14px;
  }
  .page-resources__platform-button {
    width: 100%;
    max-width: 250px;
    margin-top: 15px;
  }
  .page-resources__faq-question {
    padding: 15px 20px;
  }
  .page-resources__faq-question h3 {
    font-size: 16px;
  }
  .page-resources__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-resources__faq-answer {
    padding: 0 20px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px !important;
  }
  
  /* Image responsive fix for mobile */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources__section,
  .page-resources__container,
  .page-resources__card,
  .page-resources__platform-item,
  .page-resources__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__hero-container {
    padding-left: 0;
    padding-right: 0;
  }
}