/* style/resources-beginner-guide.css */
:root {
  --page-primary-color: #26A9E0;
  --page-secondary-color: #FFFFFF;
  --page-text-color-dark: #333333;
  --page-text-color-light: #ffffff;
  --page-background-color-light: #ffffff;
  --page-background-color-dark: #26A9E0;
  --page-login-button-color: #EA7C07;
}

.page-resources-beginner-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-text-color-dark); /* Default text color for light body background */
  background-color: var(--page-background-color-light); /* Assuming shared.css body is light */
}

.page-resources-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-resources-beginner-guide__light-bg {
  background-color: var(--page-background-color-light);
  color: var(--page-text-color-dark);
}

.page-resources-beginner-guide__dark-bg {
  background-color: var(--page-background-color-dark);
  color: var(--page-text-color-light);
}

.page-resources-beginner-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: inherit; /* Inherit from section for contrast */
}

.page-resources-beginner-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-beginner-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources-beginner-guide__hero-section {
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.page-resources-beginner-guide__hero-section .page-resources-beginner-guide__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-resources-beginner-guide__hero-content {
  flex: 1;
}

.page-resources-beginner-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-primary-color);
  line-height: 1.2;
}

.page-resources-beginner-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--page-text-color-dark);
}

.page-resources-beginner-guide__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.page-resources-beginner-guide__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-beginner-guide__hero-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-resources-beginner-guide__btn-primary,
.page-resources-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-beginner-guide__btn-primary {
  background-color: var(--page-primary-color);
  color: var(--page-secondary-color);
  border: 2px solid var(--page-primary-color);
}

.page-resources-beginner-guide__btn-primary:hover {
  background-color: darken(var(--page-primary-color), 10%);
  border-color: darken(var(--page-primary-color), 10%);
}

.page-resources-beginner-guide__btn-secondary {
  background-color: transparent;
  color: var(--page-primary-color);
  border: 2px solid var(--page-primary-color);
}

.page-resources-beginner-guide__btn-secondary:hover {
  background-color: var(--page-primary-color);
  color: var(--page-secondary-color);
}

/* Image styles */
.page-resources-beginner-guide__image-full-width {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-resources-beginner-guide__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.page-resources-beginner-guide__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-beginner-guide__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page-resources-beginner-guide__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-text-color-light);
}

.page-resources-beginner-guide__feature-description {
  color: var(--page-text-color-light);
}

/* Guide Steps */
.page-resources-beginner-guide__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-beginner-guide__step-item {
  background-color: var(--page-background-color-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-beginner-guide__step-number {
  width: 50px;
  height: 50px;
  background-color: var(--page-primary-color);
  color: var(--page-secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-resources-beginner-guide__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--page-text-color-dark);
}

.page-resources-beginner-guide__step-description {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--page-text-color-dark);
}

.page-resources-beginner-guide__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

/* Deposit Methods */
.page-resources-beginner-guide__deposit-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-beginner-guide__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--page-text-color-light);
}

.page-resources-beginner-guide__method-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-text-color-light);
}

.page-resources-beginner-guide__method-description {
  color: var(--page-text-color-light);
}

.page-resources-beginner-guide__ordered-list,
.page-resources-beginner-guide__unordered-list {
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
  padding-left: 20px;
  color: inherit;
}

.page-resources-beginner-guide__ordered-list li,
.page-resources-beginner-guide__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-beginner-guide__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-resources-beginner-guide__cta-deposit,
.page-resources-beginner-guide__cta-withdrawal {
  margin-top: 40px;
}

/* Game Types Grid */
.page-resources-beginner-guide__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-beginner-guide__game-card {
  background-color: var(--page-background-color-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-resources-beginner-guide__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-resources-beginner-guide__game-title {
  font-size: 1.4em;
  margin: 15px 15px 10px;
}

.page-resources-beginner-guide__game-title a {
  color: var(--page-primary-color);
  text-decoration: none;
}

.page-resources-beginner-guide__game-title a:hover {
  text-decoration: underline;
}

.page-resources-beginner-guide__game-description {
  font-size: 1em;
  margin: 0 15px 20px;
  color: var(--page-text-color-dark);
}

/* Security & Support */
.page-resources-beginner-guide__security-support-section .page-resources-beginner-guide__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-resources-beginner-guide__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.page-resources-beginner-guide__text-content {
  flex: 1;
}

.page-resources-beginner-guide__image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FAQ Section */
.page-resources-beginner-guide__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-resources-beginner-guide__faq-item {
  background-color: var(--page-background-color-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-resources-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--page-text-color-dark);
  transition: background-color 0.3s ease;
}

.page-resources-beginner-guide__faq-question:hover {
  background-color: #f0f0f0;
}