/* style/newbie-guide.css */

:root {
  --page-newbie-guide-primary-color: #F2C14E;
  --page-newbie-guide-secondary-color: #FFD36B;
  --page-newbie-guide-card-bg: #111111;
  --page-newbie-guide-background-color: #0A0A0A;
  --page-newbie-guide-text-main: #FFF6D6;
  --page-newbie-guide-border-color: #3A2A12;
  --page-newbie-guide-glow-color: #FFD36B;
  --page-newbie-guide-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --header-offset: 120px; /* Default for desktop */
}

/* Base styles for the page content */
.page-newbie-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light backgrounds */
  background-color: var(--page-newbie-guide-background-color);
}

/* Sections */
.page-newbie-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--header-offset, 120px); /* For fixed header */
  padding-bottom: 40px;
  background-color: var(--page-newbie-guide-background-color);
}

.page-newbie-guide__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-newbie-guide__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: var(--page-newbie-guide-background-color);
  color: var(--page-newbie-guide-text-main);
  border: 1px solid var(--page-newbie-guide-border-color);
}

.page-newbie-guide__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-newbie-guide-text-main);
  margin-bottom: 15px;
}

.page-newbie-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-newbie-guide__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-newbie-guide-primary-color);
}

.page-newbie-guide__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-newbie-guide__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-newbie-guide__container--center {
  text-align: center;
}

.page-newbie-guide__image-content {
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__image-full-width {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-newbie-guide__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Welcome Section */
.page-newbie-guide__welcome-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

/* Getting Started Section */
.page-newbie-guide__getting-started-section {
  padding: 60px 0;
  background-color: var(--page-newbie-guide-background-color);
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__getting-started-section .page-newbie-guide__section-title,
.page-newbie-guide__getting-started-section .page-newbie-guide__section-description {
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-newbie-guide__guide-item {
  background-color: var(--page-newbie-guide-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-newbie-guide-border-color);
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__guide-title {
  font-size: 1.5em;
  color: var(--page-newbie-guide-secondary-color);
  margin-bottom: 15px;
}

.page-newbie-guide__numbered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-newbie-guide__numbered-list li {
  margin-bottom: 10px;
  color: var(--page-newbie-guide-text-main);
}

/* Games Section */
.page-newbie-guide__games-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-newbie-guide__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-newbie-guide__category-card {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-newbie-guide__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
}

.page-newbie-guide__category-title {
  font-size: 1.3em;
  color: var(--page-newbie-guide-primary-color);
  margin-bottom: 10px;
}

.page-newbie-guide__btn-text {
  display: inline-block;
  margin-top: 15px;
  color: var(--page-newbie-guide-primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-newbie-guide__btn-text:hover {
  color: var(--page-newbie-guide-secondary-color);
}

/* Bonuses Section */
.page-newbie-guide__bonuses-section {
  padding: 60px 0;
  background-color: var(--page-newbie-guide-background-color);
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__bonuses-section .page-newbie-guide__section-title,
.page-newbie-guide__bonuses-section .page-newbie-guide__section-description {
  color: var(--page-newbie-guide-text-main);
}

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

.page-newbie-guide__promo-card {
  background-color: var(--page-newbie-guide-card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--page-newbie-guide-border-color);
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-newbie-guide__promo-title {
  font-size: 1.4em;
  color: var(--page-newbie-guide-secondary-color);
  margin-bottom: 10px;
}

.page-newbie-guide__promo-text {
  margin-bottom: 20px;
  color: var(--page-newbie-guide-text-main);
}

/* Mobile App Section */
.page-newbie-guide__mobile-app-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-newbie-guide__mobile-app-section .page-newbie-guide__container--flex {
  justify-content: center;
}

.page-newbie-guide__text-content {
  flex: 1;
  min-width: 300px;
}

.page-newbie-guide__image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

/* Security & Support Section */
.page-newbie-guide__security-support-section {
  padding: 60px 0;
  background-color: var(--page-newbie-guide-background-color);
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__security-support-section .page-newbie-guide__section-title,
.page-newbie-guide__security-support-section .page-newbie-guide__section-description {
  color: var(--page-newbie-guide-text-main);
}

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

.page-newbie-guide__info-card {
  background-color: var(--page-newbie-guide-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--page-newbie-guide-border-color);
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__info-title {
  font-size: 1.3em;
  color: var(--page-newbie-guide-secondary-color);
  margin-bottom: 10px;
}

.page-newbie-guide__info-text {
  color: var(--page-newbie-guide-text-main);
}

/* FAQ Section */
.page-newbie-guide__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-newbie-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-newbie-guide__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #fcfcfc;
}

.page-newbie-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #f0f0f0;
  font-weight: bold;
  color: #333333;
}

.page-newbie-guide__faq-question:hover {
  background-color: #e5e5e5;
}

.page-newbie-guide__faq-title {
  font-size: 1.1em;
  margin: 0;
  color: #333333;
}

.page-newbie-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-newbie-guide-primary-color);
}

.page-newbie-guide__faq-item.active .page-newbie-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-newbie-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-newbie-guide__faq-item.active .page-newbie-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

/* CTA Section */
.page-newbie-guide__cta-section {
  padding: 60px 0;
  background-color: var(--page-newbie-guide-background-color);
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__cta-section .page-newbie-guide__section-title,
.page-newbie-guide__cta-section .page-newbie-guide__section-description {
  color: var(--page-newbie-guide-text-main);
}

/* Buttons */
.page-newbie-guide__btn-primary,
.page-newbie-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-newbie-guide__btn-primary {
  background: var(--page-newbie-guide-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

.page-newbie-guide__btn-secondary:hover {
  background-color: var(--page-newbie-guide-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-newbie-guide__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Text colors for specific backgrounds */
.page-newbie-guide__dark-bg {
  color: var(--page-newbie-guide-text-main);
}

.page-newbie-guide__light-bg {
  color: #333333;
}

.page-newbie-guide__text-main {
  color: var(--page-newbie-guide-text-main);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-newbie-guide__hero-title {
    font-size: 2.5em;
  }
  .page-newbie-guide__section-title {
    font-size: 2em;
  }
  .page-newbie-guide__container--flex {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --header-offset: 100px; /* Adjust for mobile fixed header */
  }
  .page-newbie-guide__hero-section {
    padding-top: var(--header-offset, 100px) !important;
  }
  .page-newbie-guide__hero-image-wrapper {
    max-height: 400px;
  }
  .page-newbie-guide__hero-title {
    font-size: 2em;
  }
  .page-newbie-guide__hero-description {
    font-size: 1em;
  }
  .page-newbie-guide__hero-content {
    padding: 30px 15px;
  }
  .page-newbie-guide__section-title {
    font-size: 1.8em;
  }
  .page-newbie-guide__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-newbie-guide__container {
    padding: 15px;
  }
  .page-newbie-guide__step-by-step-guide,
  .page-newbie-guide__game-categories,
  .page-newbie-guide__promo-cards,
  .page-newbie-guide__info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-newbie-guide__guide-item,
  .page-newbie-guide__promo-card,
  .page-newbie-guide__info-card,
  .page-newbie-guide__category-card {
    padding: 20px;
  }

  /* Image responsiveness for mobile */
  .page-newbie-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-newbie-guide__section,
  .page-newbie-guide__card,
  .page-newbie-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-newbie-guide__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile: controlled by shared */
  }
  
  /* Button responsiveness for mobile */
  .page-newbie-guide__cta-button,
  .page-newbie-guide__btn-primary,
  .page-newbie-guide__btn-secondary,
  .page-newbie-guide a[class*="button"],
  .page-newbie-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }
  .page-newbie-guide__hero-cta-buttons,
  .page-newbie-guide__button-group,
  .page-newbie-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
  .page-newbie-guide__hero-cta-buttons > * {
    width: 100%;
  }

  .page-newbie-guide__faq-question {
    padding: 12px 15px;
  }
  .page-newbie-guide__faq-title {
    font-size: 1em;
  }
  .page-newbie-guide__faq-answer {
    padding: 0 15px;
  }
  .page-newbie-guide__faq-item.active .page-newbie-guide__faq-answer {
    padding: 10px 15px;
  }
}