/* style/beginner-guide.css */
:root {
  --v1888-primary: #11A84E;
  --v1888-secondary: #22C768;
  --v1888-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --v1888-card-bg: #11271B;
  --v1888-background: #08160F;
  --v1888-text-main: #F2FFF6;
  --v1888-text-secondary: #A7D9B8;
  --v1888-border: #2E7A4E;
  --v1888-glow: #57E38D;
  --v1888-gold: #F2C14E;
  --v1888-divider: #1E3A2A;
  --v1888-deep-green: #0A4B2C;
}

.page-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: var(--v1888-text-main); /* Default text color for dark background */
  background-color: var(--v1888-background);
  line-height: 1.6;
}

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

.page-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background-color: var(--v1888-deep-green);
  overflow: hidden;
}

.page-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-beginner-guide__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Pull content slightly over image for visual flow, without overlapping text */
  background-color: rgba(17, 40, 28, 0.9); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.page-beginner-guide__main-title {
  color: var(--v1888-gold);
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--v1888-glow);
}

.page-beginner-guide__hero-description {
  color: var(--v1888-text-main);
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.8;
}

.page-beginner-guide__cta-button {
  display: inline-block;
  background: var(--v1888-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-beginner-guide__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.5);
}

.page-beginner-guide__cta-button--center {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
  text-align: center;
}

.page-beginner-guide__section-title {
  color: var(--v1888-primary);
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 0 0 5px var(--v1888-glow);
}

.page-beginner-guide__intro-section,
.page-beginner-guide__registration-guide,
.page-beginner-guide__deposit-guide,
.page-beginner-guide__withdrawal-guide,
.page-beginner-guide__games-overview,
.page-beginner-guide__promotions-section,
.page-beginner-guide__support-section,
.page-beginner-guide__tips-section,
.page-beginner-guide__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--v1888-divider);
}

.page-beginner-guide__intro-section p,
.page-beginner-guide__registration-guide p,
.page-beginner-guide__deposit-guide p,
.page-beginner-guide__withdrawal-guide p,
.page-beginner-guide__promotions-section p,
.page-beginner-guide__support-section p,
.page-beginner-guide__tips-section p,
.page-beginner-guide__faq-section p {
  color: var(--v1888-text-secondary);
  margin-bottom: 20px;
}

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

.page-beginner-guide__feature-item {
  background-color: var(--v1888-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--v1888-border);
  text-align: center;
}

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

.page-beginner-guide__feature-item p {
  color: var(--v1888-text-secondary);
  font-size: 0.95em;
}

.page-beginner-guide__steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-beginner-guide__step-image {
  flex: 1 1 400px;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  border: 2px solid var(--v1888-border);
  object-fit: cover;
}

.page-beginner-guide__step-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-beginner-guide__step-item {
  background-color: var(--v1888-card-bg);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--v1888-border);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.page-beginner-guide__step-item:last-child {
  margin-bottom: 0;
}

.page-beginner-guide__step-title {
  color: var(--v1888-primary);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-beginner-guide__step-item p {
  color: var(--v1888-text-secondary);
  font-size: 0.9em;
}

.page-beginner-guide__deposit-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-beginner-guide__method-card {
  background-color: var(--v1888-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--v1888-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
}

.page-beginner-guide__method-title {
  color: var(--v1888-gold);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-beginner-guide__method-card p {
  color: var(--v1888-text-secondary);
}

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

.page-beginner-guide__game-card {
  background-color: var(--v1888-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--v1888-border);
  display: flex;
  flex-direction: column;
}

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

.page-beginner-guide__game-card h3,
.page-beginner-guide__game-card p,
.page-beginner-guide__game-card a {
  padding: 0 20px;
}

.page-beginner-guide__game-title {
  color: var(--v1888-primary);
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-beginner-guide__game-card p {
  color: var(--v1888-text-secondary);
  font-size: 0.9em;
  flex-grow: 1;
}

.page-beginner-guide__game-button {
  display: inline-block;
  background: var(--v1888-button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: calc(100% - 40px);
}

.page-beginner-guide__game-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-beginner-guide__promo-card {
  background-color: var(--v1888-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--v1888-border);
  display: flex;
  flex-direction: column;
}

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

.page-beginner-guide__promo-card h3,
.page-beginner-guide__promo-card p,
.page-beginner-guide__promo-card a {
  padding: 0 20px;
}

.page-beginner-guide__promo-title {
  color: var(--v1888-primary);
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-beginner-guide__promo-card p {
  color: var(--v1888-text-secondary);
  font-size: 0.9em;
  flex-grow: 1;
}

.page-beginner-guide__promo-button {
  display: inline-block;
  background: var(--v1888-button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: calc(100% - 40px);
}

.page-beginner-guide__promo-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-beginner-guide__channel-item {
  background-color: var(--v1888-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--v1888-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
}

.page-beginner-guide__channel-title {
  color: var(--v1888-gold);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-beginner-guide__channel-item p {
  color: var(--v1888-text-secondary);
}

.page-beginner-guide__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-beginner-guide__tip-item {
  background-color: var(--v1888-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--v1888-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-beginner-guide__tip-title {
  color: var(--v1888-primary);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-beginner-guide__tip-item p {
  color: var(--v1888-text-secondary);
}

.page-beginner-guide__faq-list {
  margin-top: 40px;
}

.page-beginner-guide__faq-item {
  background-color: var(--v1888-card-bg);
  border: 1px solid var(--v1888-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-beginner-guide__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--v1888-text-main);
  font-weight: bold;
  font-size: 1.1em;
  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: rgba(var(--v1888-primary), 0.1);
}

.page-beginner-guide__faq-qtext {
  color: var(--v1888-primary);
}

.page-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--v1888-gold);
  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: 15px 25px 20px 25px;
  color: var(--v1888-text-secondary);
  font-size: 0.95em;
  border-top: 1px solid var(--v1888-divider);
}

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

.page-beginner-guide__faq-answer a.page-beginner-guide__faq-link {
  color: var(--v1888-secondary);
  text-decoration: underline;
  font-weight: bold;
}

.page-beginner-guide__faq-answer a.page-beginner-guide__faq-link:hover {
  color: var(--v1888-gold);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-beginner-guide {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-beginner-guide__hero-content {
    margin-top: -50px;
    padding: 15px;
  }

  .page-beginner-guide__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-beginner-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-beginner-guide__cta-button--center {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-beginner-guide__section-title {
    font-size: 2em;
    padding-top: 20px;
    margin-bottom: 30px;
  }

  .page-beginner-guide__intro-section,
  .page-beginner-guide__registration-guide,
  .page-beginner-guide__deposit-guide,
  .page-beginner-guide__withdrawal-guide,
  .page-beginner-guide__games-overview,
  .page-beginner-guide__promotions-section,
  .page-beginner-guide__support-section,
  .page-beginner-guide__tips-section,
  .page-beginner-guide__faq-section {
    padding: 40px 0;
  }

  .page-beginner-guide__steps-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-beginner-guide__step-image {
    max-width: 100%;
    flex: none;
  }

  .page-beginner-guide__step-item {
    padding: 20px;
  }

  .page-beginner-guide__game-categories,
  .page-beginner-guide__promo-cards,
  .page-beginner-guide__contact-channels,
  .page-beginner-guide__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-beginner-guide__game-button,
  .page-beginner-guide__promo-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-beginner-guide__hero-image-wrapper,
  .page-beginner-guide__section,
  .page-beginner-guide__card,
  .page-beginner-guide__container,
  .page-beginner-guide__steps-wrapper,
  .page-beginner-guide__deposit-methods,
  .page-beginner-guide__game-categories,
  .page-beginner-guide__promo-cards,
  .page-beginner-guide__contact-channels,
  .page-beginner-guide__tips-list,
  .page-beginner-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-beginner-guide__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}