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

.page-beginner-guide {
  background-color: var(--fly88-background);
  color: var(--fly88-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-beginner-guide__section-title {
  font-size: 2.5em;
  color: var(--fly88-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-beginner-guide__sub-title {
  font-size: 1.8em;
  color: var(--fly88-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-beginner-guide__text-block p,
.page-beginner-guide__text-block li {
  color: var(--fly88-text-main);
}

.page-beginner-guide__text-block a {
  color: var(--fly88-secondary-color);
  text-decoration: underline;
}

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

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

.page-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  margin-top: -100px; /* Overlap slightly for visual effect */
  border: 1px solid var(--fly88-border);
}

.page-beginner-guide__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--fly88-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-beginner-guide__description {
  font-size: 1.1em;
  color: var(--fly88-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
  text-align: center;
}

.page-beginner-guide__btn-primary {
  background: var(--fly88-button-gradient);
  color: var(--fly88-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-beginner-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-beginner-guide__btn-secondary {
  background: transparent;
  color: var(--fly88-secondary-color);
  border: 2px solid var(--fly88-secondary-color);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-beginner-guide__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--fly88-secondary-color);
  color: var(--fly88-text-main);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.4);
}

.page-beginner-guide__introduction-section,
.page-beginner-guide__registration-guide-section,
.page-beginner-guide__login-guide-section,
.page-beginner-guide__deposit-guide-section,
.page-beginner-guide__withdrawal-guide-section,
.page-beginner-guide__games-section,
.page-beginner-guide__promotions-section,
.page-beginner-guide__support-faq-section,
.page-beginner-guide__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--fly88-divider);
}

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

.page-beginner-guide__text-block {
  background-color: var(--fly88-deep-green);
  color: var(--fly88-text-main);
}

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

.page-beginner-guide__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-beginner-guide__guide-steps h3 {
  color: var(--fly88-gold);
  font-size: 1.5em;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-beginner-guide__guide-steps p {
  margin-bottom: 15px;
  color: var(--fly88-text-secondary);
}

.page-beginner-guide__guide-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--fly88-border);
}

.page-beginner-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-beginner-guide__list-unstyled,
.page-beginner-guide__list-styled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-beginner-guide__list-styled li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--fly88-text-secondary);
}

.page-beginner-guide__list-styled li::before {
  content: '✔';
  color: var(--fly88-secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-beginner-guide__ordered-list {
  padding-left: 25px;
  color: var(--fly88-text-secondary);
}

.page-beginner-guide__ordered-list li {
  margin-bottom: 10px;
}

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

.page-beginner-guide__game-card {
  background-color: var(--fly88-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--fly88-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-beginner-guide__game-title {
  font-size: 1.4em;
  color: var(--fly88-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-beginner-guide__game-title a {
  color: var(--fly88-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-beginner-guide__game-title a:hover {
  color: var(--fly88-secondary-color);
}

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

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

.page-beginner-guide__games-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--fly88-border);
}

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

.page-beginner-guide__promo-card {
  background-color: var(--fly88-card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--fly88-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-beginner-guide__promo-title {
  font-size: 1.3em;
  color: var(--fly88-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-beginner-guide__promo-title a {
  color: var(--fly88-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-beginner-guide__promo-title a:hover {
  color: var(--fly88-gold);
}

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

.page-beginner-guide__support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-beginner-guide__contact-info {
  background-color: var(--fly88-card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--fly88-border);
}

.page-beginner-guide__contact-info p,
.page-beginner-guide__contact-info li {
  color: var(--fly88-text-secondary);
  margin-bottom: 10px;
}

.page-beginner-guide__contact-info a {
  color: var(--fly88-secondary-color);
  text-decoration: underline;
}

.page-beginner-guide__faq-list {
  background-color: var(--fly88-card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--fly88-border);
}

.page-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--fly88-divider);
  padding-bottom: 15px;
}

.page-beginner-guide__faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--fly88-text-main);
  font-weight: 600;
  padding: 10px 0;
  list-style: none;
}

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

.page-beginner-guide__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--fly88-secondary-color);
  margin-left: 10px;
}

.page-beginner-guide__faq-answer {
  color: var(--fly88-text-secondary);
  padding: 10px 0 0 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-beginner-guide__content-grid,
  .page-beginner-guide__content-grid--reverse,
  .page-beginner-guide__support-content {
    grid-template-columns: 1fr;
  }
  .page-beginner-guide__content-grid--reverse {
    flex-direction: column;
  }
  .page-beginner-guide__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-beginner-guide__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-beginner-guide__description {
    font-size: 1em;
  }
  .page-beginner-guide__hero-content {
    padding: 15px;
  }
  .page-beginner-guide__btn-primary,
  .page-beginner-guide__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-beginner-guide__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-beginner-guide img,
  .page-beginner-guide video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-beginner-guide__section,
  .page-beginner-guide__card,
  .page-beginner-guide__container,
  .page-beginner-guide__hero-section,
  .page-beginner-guide__introduction-section,
  .page-beginner-guide__registration-guide-section,
  .page-beginner-guide__login-guide-section,
  .page-beginner-guide__deposit-guide-section,
  .page-beginner-guide__withdrawal-guide-section,
  .page-beginner-guide__games-section,
  .page-beginner-guide__promotions-section,
  .page-beginner-guide__support-faq-section,
  .page-beginner-guide__cta-section,
  .page-beginner-guide__video-section,
  .page-beginner-guide__video-container,
  .page-beginner-guide__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-beginner-guide__video-section {
    padding-top: 10px !important; 
  }
  .page-beginner-guide__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-beginner-guide__hero-image-wrapper {
    padding: 0 15px;
  }
  .page-beginner-guide__hero-content {
    margin-top: -30px;
    padding: 15px;
  }
  .page-beginner-guide__game-categories,
  .page-beginner-guide__promotions-list {
    gap: 20px;
  }
  .page-beginner-guide__game-card,
  .page-beginner-guide__promo-card,
  .page-beginner-guide__contact-info,
  .page-beginner-guide__faq-list {
    padding: 20px;
  }
  .page-beginner-guide__faq-question {
    font-size: 1.1em;
  }
  .page-beginner-guide__faq-toggle {
    font-size: 1.3em;
  }
}