:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4;
  --border-light: #e0e0e0;
}

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

.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding-top: var(--header-offset, 120px);
}

.page-resources__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: var(--text-light);
}

.page-resources__cta-group {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background: var(--primary-color);
  color: #000000;
  border: 2px solid var(--primary-color);
}

.page-resources__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources__btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources__hero-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
}

.page-resources__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources__section {
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-resources__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources__intro-overview {
  background-color: #ffffff;
}
.page-resources__intro-overview p {
  text-align: left;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-resources__game-guides {
  background-color: var(--bg-light);
}

.page-resources__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources__card {
  background: #ffffff;
  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;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

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

.page-resources__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources__card-title {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: var(--secondary-color);
}

.page-resources__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-resources__card-title a:hover {
  color: var(--primary-color);
}

.page-resources__card-text {
  padding: 0 20px 15px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-resources__read-more {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 20px 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__read-more:hover {
  color: var(--secondary-color);
}

.page-resources__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-resources__read-more:hover .page-resources__arrow {
  transform: translateX(5px);
}

.page-resources__betting-tips {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-resources__betting-tips .page-resources__section-title {
  color: var(--primary-color);
}

.page-resources__betting-tips .page-resources__section-description {
  color: var(--text-light);
}

.page-resources__feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-resources__feature-item {
  flex: 1 1 300px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

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

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

.page-resources__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources__feature-text {
  font-size: 1em;
  color: var(--text-light);
}

.page-resources__center-button {
  margin-top: 50px;
}

.page-resources__dark-section .page-resources__btn-primary {
  background: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
}

.page-resources__dark-section .page-resources__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-resources__responsible-gaming {
  background-color: #ffffff;
}

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

.page-resources__responsible-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__responsible-text {
  flex: 2 1 500px;
  color: var(--text-dark);
}

.page-resources__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-resources__responsible-text p {
  margin-bottom: 15px;
}

.page-resources__responsible-text .page-resources__cta-button {
  margin-top: 20px;
  display: inline-block;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources__responsible-text .page-resources__cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-resources__latest-news {
  background-color: var(--bg-light);
}

.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: #ffffff;
  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;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}