:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #F0F2F5;
  --text-dark: #1A202C;
  --bg-dark: #1A202C;
  --bg-light: #FFFFFF;
  --accent-gold: #FFD700;
  --border-color: #3A3F47;
}

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

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

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

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

.page-resources h1 {
  font-size: 2.8em;
  color: var(--accent-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
}

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

.page-resources .cta-button {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--bg-dark);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-resources .cta-button:hover {
  background-color: darken(var(--accent-gold), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Banner */
.page-resources .hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #3A3F47);
  color: var(--text-light);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-resources .hero-banner h1 {
  color: var(--accent-gold);
  font-size: 3.5em;
  margin-bottom: 20px;
}

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

.page-resources .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

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

/* Section Guides */
.page-resources .section-guides {
  background-color: var(--bg-light);
  padding: 80px 0;
}

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

.page-resources .guide-item {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.page-resources .guide-icon {
  width: 120px; /* Min 200x200 requirement, but this is an icon. Adjusting to a larger size if it's not actually an 'icon' icon. For card, it should be larger. Let's make it 200x200 */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources .guide-item h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

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

.page-resources .read-more {
  display: inline-block;
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-resources .read-more:hover {
  color: var(--primary-color);
}

/* Section Rules */
.page-resources .section-rules {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.page-resources .rules-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-resources .rules-text {
  flex: 2;
  min-width: 300px;
}

.page-resources .rules-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-resources .rules-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.page-resources .rules-text ul li {
  margin-bottom: 10px;
}

.page-resources .rules-text strong {
  color: var(--primary-color);
}

/* Section Responsible Gaming */
.page-resources .section-responsible-gaming {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-resources .section-responsible-gaming h2 {
  color: var(--accent-gold);
}

.page-resources .section-responsible-gaming p {
  color: var(--text-light);
}

.page-resources .section-responsible-gaming h3 {
  color: var(--accent-gold);
}

.page-resources .gaming-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-resources .gaming-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-resources .gaming-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources .gaming-text {
  flex: 2;
  min-width: 300px;
}

.page-resources .gaming-text ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources .gaming-text ul li {
  margin-bottom: 10px;
}

.page-resources .section-responsible-gaming .cta-button {
  background: var(--accent-gold);
  color: var(--primary-color);
}

.page-resources .section-responsible-gaming .cta-button:hover {
  background-color: darken(var(--accent-gold), 15%);
}

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

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
  color: #555;
  border-radius: 0 0 8px 8px;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
}

/* Section News */
.page-resources .section-news {
  background-color: #f0f2f5;
  padding: 80px 0;
}

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

.page-resources .news-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources .news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-resources .news-card h3 {
  font-size: 1.3em;
  margin: 20px 20px 10px;
}

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

.page-resources .news-card h3 a.page-resources.news-link:hover {
  color: var(--accent-gold);
}

.page-resources .news-card p {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-resources .news-card span {
  display: block;
  font-size: 0.85em;
  color: #999;
  padding: 0 20px 20px;
}

/* Section Glossary */
.page-resources .section-glossary {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-resources .section-glossary h2 {
  color: var(--accent-gold);
}

.page-resources .section-glossary p {
  color: var(--text-light);
}

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

.page-resources .glossary-item {
  background-color: #2A303C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources .glossary-item h3 {
  font-size: 1.3em;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

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

/* Section Contact */
.page-resources .section-contact {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.page-resources .contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: #333;
}

.page-resources .contact-info p {
  margin-bottom: 10px;
}

.page-resources .contact-info a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: bold;
}

.page-resources .contact-info a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.5em;
  }
  .page-resources h2 {
    font-size: 2em;
  }
  .page-resources .rules-content, .page-resources .gaming-content {
    flex-direction: column;
  }
  .page-resources .rules-text, .page-resources .gaming-text {
    order: 2;
  }
  .page-resources .rules-image, .page-resources .gaming-image {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources h1 {
    font-size: 2em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources p {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .hero-banner {
    padding: 60px 0;
  }
  .page-resources .guide-grid, .page-resources .news-grid, .page-resources .glossary-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-resources .guide-icon {
    width: 100px;
    height: 100px;
  }
  .page-resources .news-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-resources .container {
    padding: 0 15px;
  }
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources h3 {
    font-size: 1.3em;
  }
  .page-resources .guide-icon {
    width: 80px;
    height: 80px;
  }
  .page-resources .news-card h3 {
    font-size: 1.1em;
  }
  .page-resources .news-card p {
    font-size: 0.9em;
  }
}