.page-beginner-guide {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-beginner-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero for contrast */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 80px;
}

.page-beginner-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-beginner-guide__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.2;
}

.page-beginner-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-beginner-guide__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-beginner-guide__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-beginner-guide__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-beginner-guide__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-beginner-guide__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-beginner-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-beginner-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay */
  display: block;
}

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

.page-beginner-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-beginner-guide__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-beginner-guide__getting-started,
.page-beginner-guide__game-guides,
.page-beginner-guide__faq,
.page-beginner-guide__responsible-gaming,
.page-beginner-guide__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-beginner-guide__getting-started {
  background-color: #f9f9f9;
}

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

.page-beginner-guide__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-beginner-guide__step-card:hover {
  transform: translateY(-5px);
}

.page-beginner-guide__step-icon {
  width: 250px; /* Min size 200px */
  height: 180px; /* Min size 200px */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-beginner-guide__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-beginner-guide__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-beginner-guide__step-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-beginner-guide__step-button:hover {
  background-color: #e0a53b;
}

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

.page-beginner-guide__guide-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-beginner-guide__guide-card:hover {
  transform: translateY(-5px);
}

.page-beginner-guide__guide-image {
  width: 100%;
  height: 200px; /* Min size 200px */
  object-fit: cover;
  display: block;
}

.page-beginner-guide__guide-card h3 {
  padding: 20px 20px 10px 20px;
  font-size: 1.5em;
}

.page-beginner-guide__guide-card h3 a {
  color: #000000;
  text-decoration: none;
}

.page-beginner-guide__guide-card h3 a:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-beginner-guide__guide-description {
  padding: 0 20px 15px 20px;
  color: #666666;
  font-size: 0.95em;
}

.page-beginner-guide__guide-link {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-beginner-guide__guide-link:hover {
  background-color: #333333;
}

.page-beginner-guide__accordion-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__accordion-header {
  background-color: #000000;
  color: #FFFFFF;
  padding: 20px;
  cursor: pointer;
  font-size: 1.3em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-beginner-guide__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-beginner-guide__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-beginner-guide__accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-beginner-guide__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px;
}

.page-beginner-guide__accordion-content p {
  color: #555555;
}

.page-beginner-guide__responsible-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-beginner-guide__responsible-image {
  width: 400px; /* Min size 200px */
  height: 300px; /* Min size 200px */
  object-fit: cover;
  border-radius: 8px;
}

.page-beginner-guide__responsible-list {
  list-style: none;
  padding: 0;
  flex: 1;
  min-width: 300px;
}

.page-beginner-guide__responsible-list li {
  background-color: #f9f9f9;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  color: #333333;
  font-size: 1.05em;
}

.page-beginner-guide__button--support {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-beginner-guide__button--support:hover {
  background-color: #e0a53b;
}

.page-beginner-guide__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-beginner-guide__cta-section .page-beginner-guide__section-title {
  color: #FCBC45;
}

.page-beginner-guide__cta-section .page-beginner-guide__section-intro {
  color: #f0f0f0;
}

.page-beginner-guide__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-beginner-guide__button--register-cta {
  background-color: #FFFFFF;
  color: #000000;
}

.page-beginner-guide__button--register-cta:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-beginner-guide__button--download-cta {
  background-color: #FCBC45;
  color: #000000;
}

.page-beginner-guide__button--download-cta:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-beginner-guide__hero-title {
    font-size: 2.2em;
  }

  .page-beginner-guide__hero-description {
    font-size: 1em;
  }

  .page-beginner-guide__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-beginner-guide__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-beginner-guide__section-title {
    font-size: 2em;
  }

  .page-beginner-guide__section-intro {
    font-size: 0.95em;
  }

  .page-beginner-guide__steps-grid,
  .page-beginner-guide__guides-grid {
    grid-template-columns: 1fr;
  }

  .page-beginner-guide__step-icon,
  .page-beginner-guide__guide-image,
  .page-beginner-guide__responsible-image {
    max-width: 100%;
    height: auto;
  }

  .page-beginner-guide__responsible-content {
    flex-direction: column;
  }

  .page-beginner-guide__button--support {
    width: 90%;
  }

  .page-beginner-guide__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-beginner-guide__cta-actions .page-beginner-guide__button {
    width: 80%;
    margin: 0 auto;
  }

  /* Ensure content area does not cause horizontal scroll */
  .page-beginner-guide {
    overflow-x: hidden;
  }

  .page-beginner-guide__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide__hero-title {
    font-size: 1.8em;
  }

  .page-beginner-guide__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-beginner-guide__section-title {
    font-size: 1.8em;
  }

  .page-beginner-guide__accordion-header {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-beginner-guide__accordion-content {
    padding: 15px;
  }
}