/* style/beginner-guide.css */

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

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

.page-beginner-guide__dark-bg {
  background-color: var(--beginner-guide-background);
  color: var(--beginner-guide-text-main);
}

.page-beginner-guide__light-bg {
  background-color: var(--beginner-guide-text-main);
  color: var(--beginner-guide-background);
}

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

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

.page-beginner-guide__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--beginner-guide-gold);
}

.page-beginner-guide__section-description {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--beginner-guide-text-secondary);
}

.page-beginner-guide__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--beginner-guide-gold);
}

/* Hero Section */
.page-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 600px;
  overflow: hidden;
  color: var(--beginner-guide-text-main);
}

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

.page-beginner-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-beginner-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
}

.page-beginner-guide__main-title {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--beginner-guide-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide__intro-text {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--beginner-guide-text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-beginner-guide__btn-primary {
  background: var(--beginner-guide-button-gradient);
  color: var(--beginner-guide-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 10px;
}

.page-beginner-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

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

.page-beginner-guide__btn-secondary:hover {
  background-color: var(--beginner-guide-primary-color);
  color: var(--beginner-guide-text-main);
  transform: translateY(-2px);
}

.page-beginner-guide__cta-buttons,
.page-beginner-guide__final-cta-buttons,
.page-beginner-guide__app-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Content Grid */
.page-beginner-guide__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 60px;
}

.page-beginner-guide__content-grid--reverse {
  flex-direction: row-reverse;
}

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

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

.page-beginner-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--beginner-guide-border);
}

/* Lists */
.page-beginner-guide__list,
.page-beginner-guide__numbered-list,
.page-beginner-guide__safety-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-beginner-guide__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--beginner-guide-text-secondary);
}

.page-beginner-guide__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--beginner-guide-glow);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.page-beginner-guide__numbered-list .page-beginner-guide__list-item {
  counter-increment: step-counter;
}

.page-beginner-guide__numbered-list .page-beginner-guide__list-item::before {
  content: counter(step-counter) '. ';
  color: var(--beginner-guide-gold);
  font-weight: 700;
  font-size: 20px;
  left: 0;
}

/* Step Cards (Registration Guide) */
.page-beginner-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-beginner-guide__step-card {
  background-color: var(--beginner-guide-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--beginner-guide-border);
  color: var(--beginner-guide-text-main);
}

.page-beginner-guide__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--beginner-guide-border);
}

.page-beginner-guide__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--beginner-guide-gold);
}

.page-beginner-guide__step-description {
  font-size: 16px;
  color: var(--beginner-guide-text-secondary);
}

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

.page-beginner-guide__category-card {
  background-color: var(--beginner-guide-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--beginner-guide-border);
  color: var(--beginner-guide-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-beginner-guide__category-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--beginner-guide-gold);
}

.page-beginner-guide__category-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--beginner-guide-border);
}

.page-beginner-guide__category-description {
  font-size: 16px;
  color: var(--beginner-guide-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions */
.page-beginner-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

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

.page-beginner-guide__promo-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--beginner-guide-gold);
}

.page-beginner-guide__promo-description {
  font-size: 16px;
  color: var(--beginner-guide-text-secondary);
}

/* Support & FAQ */
.page-beginner-guide__support-info {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  text-align: left;
  margin-top: 60px;
}

.page-beginner-guide__support-info .page-beginner-guide__text-block {
  flex: 1;
}

.page-beginner-guide__support-info .page-beginner-guide__image-block {
  flex: 1;
}

.page-beginner-guide__faq-section {
  margin-top: 80px;
}

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

.page-beginner-guide__faq-item {
  background-color: var(--beginner-guide-card-bg);
  border: 1px solid var(--beginner-guide-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--beginner-guide-text-main);
}

.page-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--beginner-guide-gold);
  list-style: none;
}

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

.page-beginner-guide__faq-question::marker {
  display: none;
}

.page-beginner-guide__faq-toggle {
  font-size: 24px;
  line-height: 1;
  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: 0 20px 20px;
  font-size: 16px;
  color: var(--beginner-guide-text-secondary);
  border-top: 1px solid var(--beginner-guide-divider);
}

/* App Download */
.page-beginner-guide__app-container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

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

.page-beginner-guide__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--beginner-guide-border);
}

/* Safety Tips */
.page-beginner-guide__safety-list {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.page-beginner-guide__safety-list .page-beginner-guide__list-item {
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--beginner-guide-text-secondary);
}

.page-beginner-guide__safety-list .page-beginner-guide__list-item::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  color: var(--beginner-guide-gold);
  font-size: 20px;
  line-height: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-beginner-guide__content-grid,
  .page-beginner-guide__support-info,
  .page-beginner-guide__app-container {
    flex-direction: column;
    text-align: center;
  }

  .page-beginner-guide__content-grid--reverse {
    flex-direction: column;
  }

  .page-beginner-guide__text-block,
  .page-beginner-guide__image-block,
  .page-beginner-guide__app-content,
  .page-beginner-guide__app-image-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .page-beginner-guide__section-description,
  .page-beginner-guide__intro-text {
    max-width: 100%;
  }

  .page-beginner-guide__hero-content {
    padding: 20px;
  }

  .page-beginner-guide__steps-grid,
  .page-beginner-guide__game-categories,
  .page-beginner-guide__promotions-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-beginner-guide__section {
    padding: 60px 0;
  }

  .page-beginner-guide__section-title {
    font-size: clamp(24px, 6vw, 40px);
  }

  .page-beginner-guide__main-title {
    font-size: clamp(30px, 8vw, 50px);
  }

  .page-beginner-guide__intro-text {
    font-size: 18px;
  }

  .page-beginner-guide__sub-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  /* Mobile Responsive for Images */
  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile Responsive for Video - No video on this page, but keeping for completeness if added */
  .page-beginner-guide video,
  .page-beginner-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-beginner-guide__video-section,
  .page-beginner-guide__video-container,
  .page-beginner-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-beginner-guide__video-section {
    padding-top: 10px !important;
  }
  .page-beginner-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile Responsive for Buttons */
  .page-beginner-guide__btn-primary,
  .page-beginner-guide__btn-secondary,
  .page-beginner-guide a[class*="button"],
  .page-beginner-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;
  }

  .page-beginner-guide__cta-buttons,
  .page-beginner-guide__button-group,
  .page-beginner-guide__btn-container,
  .page-beginner-guide__final-cta-buttons,
  .page-beginner-guide__app-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px;
  }

  .page-beginner-guide__container,
  .page-beginner-guide__registration-guide .page-beginner-guide__container,
  .page-beginner-guide__deposit-guide .page-beginner-guide__container,
  .page-beginner-guide__withdrawal-guide .page-beginner-guide__container,
  .page-beginner-guide__game-exploration .page-beginner-guide__container,
  .page-beginner-guide__promotions-section .page-beginner-guide__container,
  .page-beginner-guide__support-section .page-beginner-guide__container,
  .page-beginner-guide__app-download .page-beginner-guide__container,
  .page-beginner-guide__safety-tips .page-beginner-guide__container,
  .page-beginner-guide__cta-final .page-beginner-guide__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-beginner-guide__card {
    padding: 20px;
  }

  .page-beginner-guide__faq-question {
    font-size: 16px;
  }

  .page-beginner-guide__faq-answer {
    font-size: 15px;
  }
}