.page-resources {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --btn-login: #EA7C07;
}

.page-resources__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: calc(80px + var(--header-offset, 120px)); /* Ensure spacing below fixed header */
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  border: 2px solid transparent;
}

.page-resources__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources__btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-resources__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources__video-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
  color: var(--text-dark);
}

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-align: center;
}

.page-resources__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.page-resources__video-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-dark);
}

.page-resources__content-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-resources__article-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources__article-content {
  padding: 25px;
}

.page-resources__article-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-resources__article-link {
  text-decoration: none;
  color: inherit;
}

.page-resources__article-link:hover {
  text-decoration: underline;
}

.page-resources__article-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-resources__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.page-resources__read-more::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.page-resources__read-more:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.page-resources__game-types-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-resources__game-types-section .page-resources__section-title {
  color: var(--secondary-color);
}

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

.page-resources__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-resources__game-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-resources__game-link {
  text-decoration: none;
  color: inherit;
}

.page-resources__game-link:hover {
  text-decoration: underline;
}

.page-resources__game-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-light);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__strategy-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-resources__strategy-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources__strategy-content {
  padding: 25px;
}

.page-resources__strategy-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-resources__strategy-link {
  text-decoration: none;
  color: inherit;
}

.page-resources__strategy-link:hover {
  text-decoration: underline;
}

.page-resources__strategy-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-resources__promotions-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-resources__promotions-section .page-resources__section-title {
  color: var(--secondary-color);
}

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

.page-resources__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources__promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-resources__promo-link {
  text-decoration: none;
  color: inherit;
}

.page-resources__promo-link:hover {
  text-decoration: underline;
}

.page-resources__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-light);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__cta-promotions {
  margin-top: 40px;
}

.page-resources__security-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
}

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

.page-resources__security-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources__security-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-resources__security-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
  flex-grow: 1;
}

.page-resources__cta-support {
  margin-top: 40px;
}

.page-resources__faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-resources__faq-section .page-resources__section-title {
  color: var(--secondary-color);
  text-align: center;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-resources__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__faq-qtext {
  color: var(--text-light);
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--secondary-color);
}

.page-resources__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-resources__faq-answer p {
  margin-bottom: 10px;
}

.page-resources__cta-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
}

.page-resources__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-resources__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__article-image, .page-resources__strategy-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px;
    padding-top: calc(60px + var(--header-offset, 120px));
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary, .page-resources__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources__video-section, .page-resources__content-section, .page-resources__game-types-section, .page-resources__strategy-section, .page-resources__promotions-section, .page-resources__security-section, .page-resources__faq-section, .page-resources__cta-section {
    padding: 40px 0;
  }
  .page-resources__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources__article-card, .page-resources__game-card, .page-resources__promo-card, .page-resources__security-item, .page-resources__strategy-card {
    margin-bottom: 20px;
  }
  .page-resources__article-image, .page-resources__game-image, .page-resources__promo-image, .page-resources__security-image, .page-resources__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__video-wrapper {
    margin: 0 auto 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
  .page-resources__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__article-heading, .page-resources__game-heading, .page-resources__promo-heading, .page-resources__security-heading, .page-resources__strategy-heading {
    font-size: 1.2em;
  }
}