/* Global styles and variables for page-beginner-guide */
.page-beginner-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main for dark background */
  background-color: transparent; /* Body background is handled by shared.css var(--deep-navy) */
}

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

.page-beginner-guide__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #F2C14E; /* Gold for titles */
  text-align: center;
  margin-bottom: 30px;
}

.page-beginner-guide__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
}

/* Hero Section */
.page-beginner-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 40px;
  background-color: #08162B; /* Deep Navy as background */
  color: #F3F8FF;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #1B3357;
}

.page-beginner-guide__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 2;
  margin-bottom: 30px;
}

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

.page-beginner-guide__hero-description {
  font-size: 1.1em;
  color: #AFC4E8;
  margin-bottom: 30px;
}

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

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-beginner-guide__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 59, 122, 0.4);
}

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

.page-beginner-guide__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-beginner-guide__btn-secondary:hover {
  background: #1B3357; /* Divider */
  border-color: #4FA8FF; /* Glow */
  transform: translateY(-2px);
}

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

.page-beginner-guide__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-beginner-guide__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 30px;
  border-radius: 10px;
}

.page-beginner-guide__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Why Choose Section */
.page-beginner-guide__why-choose {
  background-color: #08162B; /* Deep Navy */
}

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

.page-beginner-guide__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F3F8FF;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-beginner-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-beginner-guide__card-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Constrain image height in card */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-beginner-guide__card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-beginner-guide__card p {
  font-size: 0.95em;
  color: #AFC4E8;
}

/* Guide Section */
.page-beginner-guide__guide-section {
  background-color: #08162B; /* Deep Navy */
}

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

.page-beginner-guide__guide-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #F3F8FF;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-beginner-guide__guide-heading {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4FA8FF; /* Glow */
}

.page-beginner-guide__guide-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-beginner-guide__guide-item p {
  font-size: 0.95em;
  color: #AFC4E8;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-beginner-guide__promotions {
  background-color: #08162B; /* Deep Navy */
}

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

.page-beginner-guide__promo-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #F3F8FF;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-beginner-guide__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-beginner-guide__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-beginner-guide__promo-card p {
  font-size: 0.95em;
  color: #AFC4E8;
  margin-bottom: 20px;
}

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

/* Responsible Gaming Section */
.page-beginner-guide__responsible-gaming {
  background-color: #08162B; /* Deep Navy */
}

.page-beginner-guide__main-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-beginner-guide__responsible-gaming p {
  font-size: 1em;
  color: #AFC4E8;
  margin-bottom: 20px;
  text-align: justify;
}

/* FAQ Section */
.page-beginner-guide__faq {
  background-color: #08162B; /* Deep Navy */
}

details.page-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}
details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question:hover {
  background: #1B3357; /* Divider */
}
.page-beginner-guide__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}
.page-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-beginner-guide__faq-item .page-beginner-guide__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95em;
}

/* Final CTA Section */
.page-beginner-guide__cta-final {
  background-color: #08162B; /* Deep Navy */
  padding-bottom: 60px;
}

/* --- HOMEPAGE TRIAL GAME CSS TEMPLATES (REQUIRED BY PROMPT, NOT USED BY THIS PAGE) --- */
@media (max-width: 1023px) {
  .page-beginner-guide__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-beginner-guide__hero-brand,
  .page-beginner-guide__hero-jackpot {
    display: none !important;
  }
  .page-beginner-guide__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-beginner-guide__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-beginner-guide__game-trial-topbar,
  .page-beginner-guide__game-trial-bottombar {
    display: none !important;
  }
  .page-beginner-guide__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-beginner-guide__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-beginner-guide__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-beginner-guide__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-beginner-guide__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-beginner-guide__hero-brand,
  .page-beginner-guide__hero-jackpot,
  .page-beginner-guide__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-beginner-guide__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-beginner-guide__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-beginner-guide__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-beginner-guide__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-beginner-guide__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Mobile responsive (max-width: 768px) for beginner-guide page */
@media (max-width: 768px) {
  .page-beginner-guide {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-beginner-guide__section {
    padding: 30px 15px;
  }

  .page-beginner-guide__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .page-beginner-guide__hero-section {
    padding: 15px 15px 30px;
  }

  .page-beginner-guide__main-title {
    font-size: 2em; /* Adjusted for mobile */
  }

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

  .page-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-beginner-guide__grid-container,
  .page-beginner-guide__guide-steps,
  .page-beginner-guide__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-beginner-guide__card,
  .page-beginner-guide__guide-item,
  .page-beginner-guide__promo-card {
    padding: 20px;
  }

  .page-beginner-guide__card-title,
  .page-beginner-guide__guide-heading,
  .page-beginner-guide__promo-title {
    font-size: 1.2em;
  }

  .page-beginner-guide__card-image,
  .page-beginner-guide__guide-image,
  .page-beginner-guide__promo-image,
  .page-beginner-guide__main-image,
  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-beginner-guide__section,
  .page-beginner-guide__card,
  .page-beginner-guide__container,
  .page-beginner-guide__guide-item,
  .page-beginner-guide__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question { padding: 15px; }
  .page-beginner-guide__faq-qtext { font-size: 1em; }
  .page-beginner-guide__faq-toggle { font-size: 20px; width: 24px; margin-left: 10px; }
  details.page-beginner-guide__faq-item .page-beginner-guide__faq-answer { padding: 0 15px 15px; }
}

/* Specific for homepage elements that might be required by prompt but not used by this page */
.page-beginner-guide__game-trial-overlay{z-index:5;pointer-events:auto;}.page-beginner-guide__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-beginner-guide__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-beginner-guide__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-beginner-guide__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-beginner-guide__reward-modal-close { position: absolute; top: 15px; right: 15px; font-size: 2em; color: #fff; cursor: pointer; background: none; border: none; }