/* style/beginner-guide.css */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --card-bg-color: #10233F;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--deep-navy-color); /* Body background from shared.css is #08162B, so text should be light */
}

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

.page-beginner-guide__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold-color);
  line-height: 1.2;
}

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

.page-beginner-guide__dark-bg,
.page-beginner-guide__dark-section {
  background-color: var(--deep-navy-color);
  color: var(--text-main-color);
}

.page-beginner-guide__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-beginner-guide__card {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

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

/* Hero Section */
.page-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-beginner-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.page-beginner-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-beginner-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-beginner-guide__main-title {
  font-size: clamp(32px, 5vw, 55px);
  font-weight: 800;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-beginner-guide__hero-description {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-secondary-color);
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-beginner-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-beginner-guide__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-beginner-guide__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Intro Section */
.page-beginner-guide__intro-section {
  padding: 80px 0;
}

.page-beginner-guide__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-beginner-guide__intro-text p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-secondary-color);
}

.page-beginner-guide__intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Registration Guide */
.page-beginner-guide__registration-guide {
  padding: 80px 0;
}

.page-beginner-guide__registration-guide .page-beginner-guide__section-title,
.page-beginner-guide__registration-guide .page-beginner-guide__section-description {
  color: #333333;
}

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

.page-beginner-guide__step-item {
  text-align: center;
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

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

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

.page-beginner-guide__registration-image {
  margin-top: 50px;
  text-align: center;
}

.page-beginner-guide__registration-image img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Download App */
.page-beginner-guide__download-app {
  padding: 80px 0;
}

.page-beginner-guide__app-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-beginner-guide__app-subtitle {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-beginner-guide__app-features,
.page-beginner-guide__app-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-beginner-guide__app-features li,
.page-beginner-guide__app-steps li {
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  color: var(--text-secondary-color);
}

.page-beginner-guide__app-features li .page-beginner-guide__icon,
.page-beginner-guide__app-steps li .page-beginner-guide__icon {
  color: var(--gold-color);
  margin-right: 10px;
  font-size: 20px;
  flex-shrink: 0;
}

.page-beginner-guide__app-image {
  text-align: center;
}

.page-beginner-guide__app-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Deposit Guide */
.page-beginner-guide__deposit-guide {
  padding: 80px 0;
}

.page-beginner-guide__deposit-guide .page-beginner-guide__section-title,
.page-beginner-guide__deposit-guide .page-beginner-guide__section-description {
  color: #333333;
}

.page-beginner-guide__deposit-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-beginner-guide__deposit-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__deposit-subtitle {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-beginner-guide__deposit-methods-list,
.page-beginner-guide__deposit-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-beginner-guide__deposit-methods-list li,
.page-beginner-guide__deposit-steps li {
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  color: #333333;
}

.page-beginner-guide__deposit-methods-list li .page-beginner-guide__icon,
.page-beginner-guide__deposit-steps li .page-beginner-guide__icon {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 20px;
  flex-shrink: 0;
}

/* Withdrawal Guide */
.page-beginner-guide__withdrawal-guide {
  padding: 80px 0;
}

.page-beginner-guide__withdrawal-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-beginner-guide__withdrawal-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__withdrawal-subtitle {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-beginner-guide__withdrawal-conditions,
.page-beginner-guide__withdrawal-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-beginner-guide__withdrawal-conditions li,
.page-beginner-guide__withdrawal-steps li {
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  color: var(--text-secondary-color);
}

.page-beginner-guide__withdrawal-conditions li .page-beginner-guide__icon,
.page-beginner-guide__withdrawal-steps li .page-beginner-guide__icon {
  color: var(--gold-color);
  margin-right: 10px;
  font-size: 20px;
  flex-shrink: 0;
}

.page-beginner-guide__note {
  font-style: italic;
  color: var(--text-secondary-color);
  margin-top: 20px;
  font-size: 16px;
}

/* Game Showcase */
.page-beginner-guide__game-showcase {
  padding: 80px 0;
}

.page-beginner-guide__game-showcase .page-beginner-guide__section-title,
.page-beginner-guide__game-showcase .page-beginner-guide__section-description {
  color: #333333;
}

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

.page-beginner-guide__game-card {
  text-align: center;
  background: var(--card-bg-color);
  color: var(--text-main-color);
  padding: 0;
  overflow: hidden;
}

.page-beginner-guide__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 15px;
}

.page-beginner-guide__game-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-beginner-guide__game-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-beginner-guide__game-title a:hover {
  text-decoration: underline;
}

.page-beginner-guide__game-card p {
  font-size: 15px;
  color: var(--text-secondary-color);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-beginner-guide__game-link {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-beginner-guide__game-link:hover {
  background: var(--primary-color);
}

/* Promotions for New Users */
.page-beginner-guide__promotions-new {
  padding: 80px 0;
}

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

.page-beginner-guide__promo-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.page-beginner-guide__promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 15px;
}

.page-beginner-guide__promo-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-beginner-guide__promo-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-beginner-guide__promo-title a:hover {
  text-decoration: underline;
}

.page-beginner-guide__promo-card p {
  font-size: 16px;
  color: var(--text-secondary-color);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-beginner-guide__promo-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-beginner-guide__promo-link:hover {
  background: var(--primary-color);
}

/* FAQ Section */
.page-beginner-guide__faq-section {
  padding: 80px 0;
}

.page-beginner-guide__faq-section .page-beginner-guide__section-title,
.page-beginner-guide__faq-section .page-beginner-guide__section-description {
  color: #333333;
}

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

details.page-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333;
  font-size: 18px;
  font-weight: 600;
}
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: #f5f5f5;
}
.page-beginner-guide__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  line-height: 1;
}
details.page-beginner-guide__faq-item .page-beginner-guide__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: #555555;
  font-size: 16px;
}

/* Contact CTA */
.page-beginner-guide__contact-cta {
  padding: 80px 0;
  text-align: center;
}

.page-beginner-guide__contact-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-beginner-guide__contact-description {
  font-size: 18px;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-beginner-guide__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-beginner-guide__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

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

.page-beginner-guide__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--deep-navy-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-beginner-guide__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-beginner-guide__app-flex,
  .page-beginner-guide__deposit-flex,
  .page-beginner-guide__withdrawal-flex {
    grid-template-columns: 1fr 1fr;
  }
  .page-beginner-guide__deposit-image,
  .page-beginner-guide__withdrawal-image {
    order: 1;
  }
  .page-beginner-guide__deposit-content,
  .page-beginner-guide__withdrawal-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide__container {
    padding: 20px 15px;
  }

  .page-beginner-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-beginner-guide__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-beginner-guide__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-beginner-guide__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    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--centered {
    max-width: 100% !important;
    width: 100% !important;
  }

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

  .page-beginner-guide__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-beginner-guide__intro-section,
  .page-beginner-guide__registration-guide,
  .page-beginner-guide__download-app,
  .page-beginner-guide__deposit-guide,
  .page-beginner-guide__withdrawal-guide,
  .page-beginner-guide__game-showcase,
  .page-beginner-guide__promotions-new,
  .page-beginner-guide__faq-section,
  .page-beginner-guide__contact-cta {
    padding: 40px 0;
  }

  .page-beginner-guide__intro-text p,
  .page-beginner-guide__step-item p,
  .page-beginner-guide__app-features li,
  .page-beginner-guide__app-steps li,
  .page-beginner-guide__deposit-methods-list li,
  .page-beginner-guide__deposit-steps li,
  .page-beginner-guide__withdrawal-conditions li,
  .page-beginner-guide__withdrawal-steps li,
  .page-beginner-guide__game-card p,
  .page-beginner-guide__promo-card p {
    font-size: 15px;
  }

  .page-beginner-guide__app-subtitle,
  .page-beginner-guide__deposit-subtitle,
  .page-beginner-guide__withdrawal-subtitle {
    font-size: 24px;
  }

  .page-beginner-guide__games-grid,
  .page-beginner-guide__promotions-grid,
  .page-beginner-guide__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-beginner-guide__game-card img,
  .page-beginner-guide__promo-card img {
    
  }

  .page-beginner-guide__game-title,
  .page-beginner-guide__promo-title {
    font-size: 18px;
  }

  details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question {
    padding: 15px 18px;
  }
  .page-beginner-guide__faq-qtext {
    font-size: 16px;
  }
  .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 18px 15px;
  }

  .page-beginner-guide__contact-title {
    font-size: 26px;
  }

  .page-beginner-guide__contact-description {
    font-size: 16px;
  }

  .page-beginner-guide__contact-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  
  .page-beginner-guide__contact-buttons a {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Image responsive fixes */
  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-beginner-guide__section,
  .page-beginner-guide__card,
  .page-beginner-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-beginner-guide__hero-section,
  .page-beginner-guide__intro-section,
  .page-beginner-guide__registration-guide,
  .page-beginner-guide__download-app,
  .page-beginner-guide__deposit-guide,
  .page-beginner-guide__withdrawal-guide,
  .page-beginner-guide__game-showcase,
  .page-beginner-guide__promotions-new,
  .page-beginner-guide__faq-section,
  .page-beginner-guide__contact-cta {
    padding-left: 0;
    padding-right: 0;
  }

  .page-beginner-guide__registration-image img,
  .page-beginner-guide__app-image img,
  .page-beginner-guide__deposit-image img,
  .page-beginner-guide__withdrawal-image img {
    max-width: 100% !important;
  }
}