/* style/beginner-guide.css */
.page-beginner-guide {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-beginner-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 60px;
  background-color: #08160F;
}

.page-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-beginner-guide__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-beginner-guide__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-beginner-guide__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-beginner-guide__cta-buttons--center {
  margin-top: 30px;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-beginner-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-beginner-guide__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-beginner-guide__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button top color for contrast */
  border: 2px solid #2AD16F; /* Button top color for contrast */
}

.page-beginner-guide__btn-secondary:hover {
  background: #2AD16F; /* Button top color */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 10px rgba(42, 209, 111, 0.5);
}

.page-beginner-guide__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

.page-beginner-guide__section-spacing {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-beginner-guide__section-spacing:last-of-type {
  border-bottom: none;
}

.page-beginner-guide__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-beginner-guide__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-beginner-guide__text-block:last-child {
  margin-bottom: 0;
}

.page-beginner-guide__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-beginner-guide__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-beginner-guide__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-beginner-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-beginner-guide__ordered-list,
.page-beginner-guide__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-beginner-guide__ordered-list li,
.page-beginner-guide__unordered-list li {
  margin-bottom: 10px;
}

.page-beginner-guide__ordered-list strong {
  color: #F2FFF6; /* Text Main */
}

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

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

.page-beginner-guide__card,
.page-beginner-guide__game-card,
.page-beginner-guide__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.page-beginner-guide__dark-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-beginner-guide__card-title,
.page-beginner-guide__game-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-beginner-guide__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-beginner-guide__game-card .page-beginner-guide__text-block,
.page-beginner-guide__promo-card .page-beginner-guide__text-block {
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-beginner-guide__game-card .page-beginner-guide__btn-secondary,
.page-beginner-guide__promo-card .page-beginner-guide__btn-primary {
  margin-top: 20px;
  align-self: flex-start;
}

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

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

.page-beginner-guide__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-beginner-guide__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-beginner-guide__faq-item summary:hover {
  background-color: #13994A; /* Darker green from Button gradient */
}

.page-beginner-guide__faq-qtext {
  flex-grow: 1;
}

.page-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-beginner-guide__faq-item[open] .page-beginner-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-beginner-guide__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-beginner-guide__text-center {
  text-align: center;
}

/* Floating Buttons */
.page-beginner-guide__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-beginner-guide__floating-btn {
  display: block;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-beginner-guide__floating-btn--register {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
}

.page-beginner-guide__floating-btn--register:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-beginner-guide__floating-btn--login {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2AD16F;
}

.page-beginner-guide__floating-btn--login:hover {
  background-color: #13994A; /* Darker green from Button gradient */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-beginner-guide__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-beginner-guide__section-title {
    font-size: 2em;
  }
  .page-beginner-guide__image-text-block {
    flex-direction: column;
    gap: 30px;
  }
  .page-beginner-guide__image-text-block--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide__hero-section {
    padding-bottom: 40px;
  }
  .page-beginner-guide__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    line-height: 1.3;
  }
  .page-beginner-guide__hero-description {
    font-size: 1em;
  }
  .page-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-beginner-guide__btn-primary,
  .page-beginner-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-beginner-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-beginner-guide__text-block {
    font-size: 1em;
  }
  .page-beginner-guide__container {
    padding: 0 15px;
  }
  .page-beginner-guide__section-spacing {
    padding: 40px 0;
  }
  .page-beginner-guide__grid-2-col,
  .page-beginner-guide__grid-3-col,
  .page-beginner-guide__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-beginner-guide__card,
  .page-beginner-guide__game-card,
  .page-beginner-guide__promo-card {
    padding: 20px;
  }
  .page-beginner-guide__game-image {
    height: 180px;
  }

  /* Mobile image specific styles */
  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-beginner-guide__section,
  .page-beginner-guide__card,
  .page-beginner-guide__container,
  .page-beginner-guide__image-wrapper,
  .page-beginner-guide__video-section,
  .page-beginner-guide__video-container,
  .page-beginner-guide__video-wrapper,
  .page-beginner-guide__cta-buttons,
  .page-beginner-guide__button-group,
  .page-beginner-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }
  .page-beginner-guide__video-section {
    padding-top: 10px !important;
  }
  .page-beginner-guide__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .page-beginner-guide__floating-btn {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}