.page-resources {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --accent-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #1a1a1a;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-resources section {
  padding: 60px 0;
  text-align: center;
}

.page-resources section:nth-of-type(even) {
  background-color: var(--background-light);
}

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

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

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources .cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button.secondary {
  background: var(--accent-color);
  color: var(--text-light);
}

.page-resources .cta-button.secondary:hover {
  background: var(--secondary-color);
}

.page-resources .button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources .button:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 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;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.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 img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-resources .hero-content h1 {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources .hero-content p {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

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

.page-resources .guide-card, .page-resources .game-card, .page-resources .blog-card, .page-resources .info-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .guide-card:hover, .page-resources .game-card:hover, .page-resources .blog-card:hover, .page-resources .info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-resources .card-title {
  font-size: 1.5em;
  color: var(--accent-color);
  padding: 20px 20px 0;
  margin-bottom: 10px;
}

.page-resources .card-link {
  text-decoration: none;
  color: inherit;
}

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

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

.page-resources .guide-card .button, .page-resources .game-card .button, .page-resources .blog-card .button, .page-resources .info-card .button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

/* Promotions Section */
.page-resources .promotions-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources .promotions-section .section-title {
  color: var(--primary-color);
}

.page-resources .promotions-section .section-description {
  color: var(--text-light);
}

.page-resources .promotion-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-resources .promotion-list li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.8;
  border-left: 5px solid var(--primary-color);
}

.page-resources .promotion-list li strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-resources .faq-section {
  background-color: var(--background-light);
}

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

.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: 15px 20px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-resources .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--accent-color);
}

.page-resources .faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-resources .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
}

.page-resources .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.page-resources .faq-answer p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1em;
}

/* Blog Section */
.page-resources .blog-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources .blog-section .section-title {
  color: var(--primary-color);
}

.page-resources .blog-section .section-description {
  color: var(--text-light);
}

.page-resources .blog-card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

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

.page-resources .blog-card .card-link {
  color: inherit;
}

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

.page-resources .blog-card .card-text {
  color: var(--text-light);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources .hero-content h1 {
    font-size: 3em;
  }
  .page-resources .section-title {
    font-size: 2em;
  }
  .page-resources .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .hero-content h1 {
    font-size: 2.5em;
  }
  .page-resources .hero-content p {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-resources .section-title {
    font-size: 1.8em;
  }
  .page-resources .section-description {
    font-size: 1em;
  }
  .page-resources .guides-grid, .page-resources .games-grid, .page-resources .blog-grid, .page-resources .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources .card-image {
    height: 180px;
  }
  .page-resources .card-title {
    font-size: 1.3em;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-question {
    padding: 12px 15px;
  }
  .page-resources .faq-answer {
    padding: 0 15px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 12px 15px;
  }
  .page-resources .promotion-list li {
    font-size: 1em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-content h1 {
    font-size: 2em;
  }
  .page-resources .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-resources .section-title {
    font-size: 1.5em;
  }
  .page-resources .section-description {
    font-size: 0.95em;
  }
  .page-resources .card-title {
    font-size: 1.2em;
  }
  .page-resources .card-text {
    font-size: 0.9em;
  }
  .page-resources .button {
    padding: 8px 20px;
    font-size: 0.85em;
  }
}