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

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

.page-resources section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources h1,
.page-resources h2,
.page-resources h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-resources h2 {
  font-size: 2.5em;
}

.page-resources h3 {
  font-size: 1.8em;
  color: var(--text-dark);
}

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

.page-resources .hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1A1A2E, #0d0d1a);
  padding: 80px 20px;
  overflow: hidden;
}

.page-resources .hero-banner .hero-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-resources .hero-banner .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

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

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.page-resources .cta-button:hover {
  background: #ff6b8a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

.page-resources .cta-button.secondary {
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
}

.page-resources .cta-button.secondary:hover {
  background: #2a2a47;
  border-color: #ff6b8a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

.page-resources .introduction-section {
  background-color: #1A1A2E;
  padding: 80px 0;
}

.page-resources .introduction-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
  font-size: 1.15em;
}

.page-resources .guide-section {
  background-color: #0d0d1a;
  padding: 80px 0;
}

.page-resources .guide-card-grid,
.page-resources .game-card-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 {
  background-color: #1A1A2E;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 30px;
}

.page-resources .guide-card:hover,
.page-resources .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-resources .guide-card h3,
.page-resources .game-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-resources .guide-card h3 .card-link,
.page-resources .game-card h3 .card-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources .guide-card h3 .card-link:hover,
.page-resources .game-card h3 .card-link:hover {
  color: #ff6b8a;
}

.page-resources .guide-card p,
.page-resources .game-card p {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px;
  text-align: center;
  margin-bottom: 20px;
}

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

.page-resources .button-small:hover {
  background: #ff6b8a;
}

.page-resources .game-exploration-section {
  background-color: #1A1A2E;
  padding: 80px 0;
}

.page-resources .promotions-section {
  background-color: #0d0d1a;
  padding: 80px 0;
}

.page-resources .promotions-section ul {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-resources .promotions-section li {
  background-color: #1A1A2E;
  margin-bottom: 15px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  font-size: 1.1em;
  line-height: 1.8;
  text-align: left;
  border-left: 5px solid var(--secondary-color);
}

.page-resources .promotions-section li strong {
  color: var(--secondary-color);
}

.page-resources .text-center {
  text-align: center;
}

.page-resources .safety-section {
  background-color: #1A1A2E;
  padding: 80px 0;
}

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

.page-resources .feature-item {
  background-color: #0d0d1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-resources .feature-item:hover {
  transform: translateY(-5px);
}

.page-resources .feature-item .feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-resources .feature-item p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources .faq-section {
  background-color: #0d0d1a;
  padding: 80px 0;
}

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

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

.page-resources .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1A1A2E;
  border: 1px solid #2a2a47;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-resources .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #f0f0f0;
  text-align: left;
}

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

.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;
  background: #2a2a47;
  color: #f0f0f0;
  padding: 0 25px;
  border-radius: 0 0 8px 8px;
}

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

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

.page-resources .contact-section {
  background-color: #1A1A2E;
  padding: 80px 0;
}

.page-resources .contact-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
  font-size: 1.15em;
}

.page-resources .contact-methods {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.8em;
  }
  .page-resources h2 {
    font-size: 2em;
  }
  .page-resources h3 {
    font-size: 1.6em;
  }
  .page-resources .hero-banner .hero-content h1 {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources h1 {
    font-size: 2.5em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.4em;
  }
  .page-resources p {
    font-size: 1em;
  }
  .page-resources .hero-banner {
    padding: 60px 15px;
  }
  .page-resources .hero-banner .hero-content h1 {
    font-size: 2.5em;
  }
  .page-resources .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources .guide-card-grid,
  .page-resources .game-card-grid,
  .page-resources .safety-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources .guide-card .card-image,
  .page-resources .game-card .card-image {
    height: 200px;
  }
  .page-resources .promotions-section ul,
  .page-resources .faq-list {
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-resources .promotions-section li {
    padding: 20px;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-toggle {
    font-size: 1.8em;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-resources .contact-methods {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 2em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources .hero-banner .hero-content h1 {
    font-size: 2em;
  }
  .page-resources .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources .guide-card h3,
  .page-resources .game-card h3 {
    font-size: 1.3em;
  }
  .page-resources .feature-item h3 {
    font-size: 1.2em;
  }
  .page-resources .faq-question h3 {
    font-size: 1em;
  }
  .page-resources .faq-toggle {
    font-size: 1.5em;
  }
}