:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #2a2a2a;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

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

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

.page-resources .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Hero Section */
.page-resources .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 80px 20px;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-resources .hero-content {
  max-width: 800px;
}

.page-resources .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button.primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-resources .cta-button.primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources .cta-button.secondary {
  background-color: var(--background-dark);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-resources .cta-button.secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources .hero-image-wrapper {
    width: 100%;
    max-width: 700px;
    margin-top: 40px;
}

.page-resources .hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Card Grid Layouts */
.page-resources .section-game-guides, .page-resources .section-expert-tips, .page-resources .section-latest-news {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-resources .game-guide-card, .page-resources .tip-card, .page-resources .news-card {
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 5px 15px 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 .game-guide-card:hover, .page-resources .tip-card:hover, .page-resources .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.page-resources .card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--secondary-color);
  padding: 15px 20px 10px;
  margin: 0;
}

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

.page-resources .card-title a:hover {
    color: var(--primary-color);
}

.page-resources .card-text {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-resources .card-link {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  margin: 0 20px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-resources .news-date {
  font-size: 0.85em;
  color: #777;
  padding: 0 20px 10px;
}

/* FAQ Section */
.page-resources .section-faq {
  padding: 60px 0;
  background-color: #fcfcfc;
}

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

.page-resources .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-resources .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--card-background);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources .faq-question:hover {
  background-color: #f5f5f5;
}

.page-resources .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--text-dark);
  font-weight: 600;
}

.page-resources .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-resources .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

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

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

.page-resources .faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.8;
}

/* Bottom CTA Section */
.page-resources .section-cta-bottom {
  padding: 80px 20px;
  background: linear-gradient(45deg, var(--secondary-color) 0%, #a30000 100%);
  color: var(--text-light);
  text-align: center;
}

.page-resources .section-cta-bottom .section-title {
  color: var(--primary-color);
  font-size: 2.8em;
}

.page-resources .section-cta-bottom .section-description {
  color: var(--text-light);
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-resources .cta-button.large {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-resources .cta-button.large:hover {
  background-color: #e6c200;
}

.page-resources .section-contact-text {
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--text-light);
}

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

.page-resources .contact-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources .hero-title {
    font-size: 3em;
  }
  .page-resources .section-title {
    font-size: 2em;
  }
  .page-resources .hero-container {
    flex-direction: column;
  }
  .page-resources .hero-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources .hero-section {
    padding: 60px 15px;
  }
  .page-resources .hero-title {
    font-size: 2.5em;
  }
  .page-resources .hero-description {
    font-size: 1.1em;
  }
  .page-resources .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources .section-title {
    font-size: 1.8em;
  }
  .page-resources .section-description {
    font-size: 1em;
  }
  .page-resources .game-guide-grid, .page-resources .tips-grid, .page-resources .news-grid {
    grid-template-columns: 1fr;
  }
  .page-resources .card-image {
    height: 180px;
  }
  .page-resources .card-title {
    font-size: 1.2em;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1em;
  }
  .page-resources .faq-toggle {
    font-size: 1.5em;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 12px 20px 15px;
  }
  .page-resources .section-cta-bottom {
    padding: 50px 15px;
  }
  .page-resources .section-cta-bottom .section-title {
    font-size: 2.2em;
  }
  .page-resources .cta-button.large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-title {
    font-size: 2em;
  }
  .page-resources .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources .cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-resources .section-title {
    font-size: 1.5em;
  }
  .page-resources .section-cta-bottom .section-title {
    font-size: 1.8em;
  }
}