.page-resources {
  --primary-color: #FFD700;
  --secondary-color: #B22222;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-medium: #2a2a2a;
  --bg-light: #f9f9f9;
  --border-color: #444444;
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--bg-dark);
}

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

.page-resources h1, .page-resources h2, .page-resources h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
}

.page-resources h1 {
  font-size: 3.2em;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 50px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.page-resources h3 {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-light);
}

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

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

.page-resources p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #cccccc;
  text-align: justify;
}

.page-resources ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-resources li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.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: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources .cta-button:hover {
  background: #FFC400;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

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

.page-resources .cta-button-small:hover {
  background: #C43B3B;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(178, 34, 34, 0.4);
}

/* Hero Banner */
.page-resources .hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-medium));
  border-bottom: 3px solid var(--secondary-color);
}

.page-resources .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources .hero-content h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-resources .hero-content p {
  color: #e0e0e0;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-resources .hero-image {
  width: 100%;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-resources .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

/* Getting Started */
.page-resources .section-getting-started {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

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

.page-resources .card {
  background: var(--bg-medium);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-resources .card h3 {
  font-size: 1.5em;
  margin-top: 0;
  padding: 0 20px;
}

.page-resources .card p {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 20px;
  text-align: center;
}

.page-resources .card ul {
  text-align: left;
  font-size: 0.9em;
  color: #b0b0b0;
  padding: 0 20px;
  list-style: none;
  margin: 0;
}

.page-resources .card li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-resources .card li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Games Section */
.page-resources .section-games {
  padding: 60px 0;
  background-color: var(--bg-medium);
}

.page-resources .section-games > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-resources .game-card {
  background: var(--bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.page-resources .game-card-image {
  width: 40%;
  height: 250px;
  object-fit: cover;
}

.page-resources .game-card-content {
  padding: 20px;
  width: 60%;
  text-align: left;
}

.page-resources .game-card h3 {
  font-size: 1.6em;
  margin-top: 0;
  text-align: left;
}

.page-resources .game-card p {
  font-size: 0.95em;
  color: #b0b0b0;
  text-align: left;
}

/* Promotions Section */
.page-resources .section-promotions {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-resources .section-promotions > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-resources .promo-item {
  background: var(--bg-medium);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.page-resources .promo-image {
  width: 40%;
  height: 220px;
  object-fit: cover;
}

.page-resources .promo-content {
  padding: 20px;
  width: 60%;
  text-align: left;
}

.page-resources .promo-content h3 {
  font-size: 1.5em;
  margin-top: 0;
  text-align: left;
}

.page-resources .promo-content p {
  font-size: 0.95em;
  color: #b0b0b0;
  text-align: left;
}

/* Safety & Support */
.page-resources .section-safety-support {
  padding: 60px 0;
  background-color: var(--bg-medium);
}

.page-resources .section-safety-support > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-resources .safety-card {
  background: var(--bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .safety-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-resources .safety-card h3 {
  font-size: 1.6em;
  margin-top: 0;
  padding: 0 20px;
}

.page-resources .safety-card p {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 20px;
  text-align: center;
}

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

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

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

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

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

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

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

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

.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: #2a2a2a;
  border-radius: 0 0 8px 8px;
}

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

.page-resources .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #cccccc;
  text-align: left;
}

/* News & Updates */
.page-resources .section-news-updates {
  padding: 60px 0;
  background-color: var(--bg-medium);
}

.page-resources .section-news-updates > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-resources .article-card {
  background: var(--bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-resources .article-card h3 {
  font-size: 1.4em;
  margin-top: 0;
  padding: 0 20px;
}

.page-resources .article-card p {
  font-size: 0.9em;
  color: #b0b0b0;
  padding: 0 20px;
  text-align: center;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources h1 {
    font-size: 2.8em;
  }
  .page-resources h2 {
    font-size: 2.2em;
  }
  .page-resources h3 {
    font-size: 1.6em;
  }
  .page-resources .grid-2-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  .page-resources .game-card, .page-resources .promo-item {
    flex-direction: column;
    text-align: center;
  }
  .page-resources .game-card-image, .page-resources .promo-image {
    width: 100%;
    height: 200px;
  }
  .page-resources .game-card-content, .page-resources .promo-content {
    width: 100%;
    text-align: center;
  }
  .page-resources .game-card h3, .page-resources .promo-content h3 {
    text-align: center;
  }
  .page-resources .game-card p, .page-resources .promo-content p {
    text-align: center;
  }
}

@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 .hero-banner {
    padding: 60px 15px;
  }
  .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: 1em;
  }
  .page-resources .grid-3-cols, .page-resources .grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-resources .game-card-image, .page-resources .promo-image, .page-resources .safety-card-image, .page-resources .article-image {
    height: 180px;
  }
  .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;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources h3 {
    font-size: 1.2em;
  }
  .page-resources .hero-banner {
    padding: 40px 10px;
  }
  .page-resources .hero-content h1 {
    font-size: 2em;
  }
  .page-resources .hero-content p {
    font-size: 0.9em;
  }
  .page-resources .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-resources .container {
    padding: 15px;
  }
  .page-resources .card, .page-resources .game-card, .page-resources .promo-item, .page-resources .safety-card, .page-resources .article-card {
    margin-bottom: 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1em;
  }
}