.page-resources {
  --primary-color: #FFD700;
  --secondary-color: #B22222;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-light: #f5f5f5;
  --accent-color: #FF8C00;
  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-child(odd) {
  background-color: var(--bg-light);
}

.page-resources section:nth-child(even) {
  background-color: #ffffff;
}

.page-resources h1, .page-resources h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources h1 {
  font-size: 3.2em;
  color: var(--primary-color);
}

.page-resources h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
}

.page-resources h3 {
  font-size: 1.8em;
  color: var(--text-dark);
  margin-top: 25px;
  margin-bottom: 15px;
}

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

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

.page-resources a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources .cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.page-resources .btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources .btn:hover {
  background: var(--accent-color);
}

/* 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: 80px 20px;
  background: linear-gradient(135deg, #FFD700, #B22222);
  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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-resources .hero-section h1 {
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources .hero-section p {
  color: var(--text-light);
  font-size: 1.2em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-resources .intro-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Guides Section */
.page-resources .guides-section {
  background-color: #ffffff;
}

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

.page-resources .guide-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

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

.page-resources .guide-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources .guide-item h3 a {
  color: var(--secondary-color);
  font-size: 1.4em;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}

.page-resources .guide-item h3 a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-resources .guide-item p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Game Strategy Section */
.page-resources .game-strategy-section {
  background-color: var(--bg-light);
}

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

.page-resources .game-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

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

.page-resources .game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources .game-card h3 a {
  color: var(--secondary-color);
  font-size: 1.3em;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}

.page-resources .game-card h3 a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

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

/* Promotions Section */
.page-resources .promotions-section {
  background-color: #ffffff;
}

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

.page-resources .promo-list li {
  background: var(--bg-light);
  padding: 15px 25px;
  margin-bottom: 15px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1.1em;
  color: var(--text-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources .promo-list li strong {
  color: var(--secondary-color);
}

/* Security and Support Section */
.page-resources .security-support-section {
  background-color: var(--bg-light);
}

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

.page-resources .info-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-resources .info-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources .info-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

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

/* FAQ Section */
.page-resources .faq-section {
  background-color: #ffffff;
}

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

.page-resources .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

.page-resources .faq-toggle {
  font-size: 24px;
  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.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-resources .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

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

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

.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: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

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

.page-resources .article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources .article-card h3 a {
  color: var(--secondary-color);
  font-size: 1.3em;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}

.page-resources .article-card h3 a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-resources .article-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-resources .article-card span {
  font-size: 0.85em;
  color: #777;
}

.page-resources .view-all-btn {
  margin-top: 40px;
}

/* App Download Section */
.page-resources .app-download-section {
  background: linear-gradient(135deg, var(--secondary-color), #8B0000);
  color: var(--text-light);
}

.page-resources .app-download-section h2 {
  color: var(--primary-color);
}

.page-resources .app-download-section p {
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources .download-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources .download-buttons .cta-button {
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 15px 30px;
  font-size: 1.1em;
  min-width: 200px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources h1 {
    font-size: 2.8em;
  }
  .page-resources h2 {
    font-size: 2em;
  }
  .page-resources h3 {
    font-size: 1.6em;
  }
  .page-resources .hero-section {
    padding: 60px 15px;
  }
  .page-resources .guide-item, .page-resources .game-card, .page-resources .info-item, .page-resources .article-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources h1 {
    font-size: 2.2em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.4em;
  }
  .page-resources p {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources .guide-grid, .page-resources .game-cards, .page-resources .info-grid, .page-resources .article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-toggle {
    font-size: 20px;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-resources .promo-list li {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-resources .download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources .download-buttons .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.5em;
  }
  .page-resources h3 {
    font-size: 1.2em;
  }
  .page-resources .hero-section {
    padding: 40px 10px;
  }
  .page-resources .container {
    padding: 0 15px;
  }
}