/* style/blog-how-to-register-and-play.css */

/* Base styles for the page content area */
.page-blog-how-to-register-and-play {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Main content background transparent to show body background */
}

/* Hero Section */
.page-blog-how-to-register-and-play__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
}

.page-blog-how-to-register-and-play__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-how-to-register-and-play__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-blog-how-to-register-and-play__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-how-to-register-and-play__description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Content Section */
.page-blog-how-to-register-and-play__content-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content sections */
}

.page-blog-how-to-register-and-play__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-how-to-register-and-play__section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog-how-to-register-and-play__subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-blog-how-to-register-and-play__text-block {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 15px;
  text-align: justify;
}

.page-blog-how-to-register-and-play__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Lists */
.page-blog-how-to-register-and-play__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-how-to-register-and-play__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-blog-how-to-register-and-play__list-item strong {
  color: #26A9E0; /* Highlight important text in lists */
}

.page-blog-how-to-register-and-play__game-list a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-blog-how-to-register-and-play__game-list a:hover {
  text-decoration: underline;
}

/* Call to Action Buttons */
.page-blog-how-to-register-and-play__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-how-to-register-and-play__cta-buttons--bottom {
  margin-top: 60px;
}

.page-blog-how-to-register-and-play__btn-primary,
.page-blog-how-to-register-and-play__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-blog-how-to-register-and-play__btn-primary {
  background-color: #EA7C07; /* Login/Register button color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog-how-to-register-and-play__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-blog-how-to-register-and-play__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-how-to-register-and-play__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* FAQ Section */
.page-blog-how-to-register-and-play__faq-list {
  margin-top: 30px;
}

.page-blog-how-to-register-and-play__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-how-to-register-and-play__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-blog-how-to-register-and-play__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-blog-how-to-register-and-play__faq-item[open] .page-blog-how-to-register-and-play__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog-how-to-register-and-play__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-blog-how-to-register-and-play__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

/* Hide default details marker */
.page-blog-how-to-register-and-play__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-blog-how-to-register-and-play__faq-item summary {
  list-style: none;
}

.page-blog-how-to-register-and-play__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-how-to-register-and-play {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-how-to-register-and-play__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog-how-to-register-and-play__hero-image {
    max-height: 400px;
  }

  .page-blog-how-to-register-and-play__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-blog-how-to-register-and-play__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-how-to-register-and-play__description {
    font-size: 0.95rem;
  }

  .page-blog-how-to-register-and-play__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 30px;
  }

  .page-blog-how-to-register-and-play__btn-primary,
  .page-blog-how-to-register-and-play__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-how-to-register-and-play__content-section {
    padding: 40px 0;
  }

  .page-blog-how-to-register-and-play__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-how-to-register-and-play__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-how-to-register-and-play__subsection-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-how-to-register-and-play__text-block,
  .page-blog-how-to-register-and-play__list-item,
  .page-blog-how-to-register-and-play__faq-answer {
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-blog-how-to-register-and-play img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure video containers are responsive (though no video is present in HTML) */
  .page-blog-how-to-register-and-play__video-section,
  .page-blog-how-to-register-and-play__video-container,
  .page-blog-how-to-register-and-play__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Video section top padding on mobile */
  .page-blog-how-to-register-and-play__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-blog-how-to-register-and-play__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-how-to-register-and-play__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Specific color contrast rules */
/* Body is dark #121212, so all main text should be light */
h1.page-blog-how-to-register-and-play__main-title,
.page-blog-how-to-register-and-play__description,
.page-blog-how-to-register-and-play__text-block,
.page-blog-how-to-register-and-play__list-item,
.page-blog-how-to-register-and-play__faq-qtext,
.page-blog-how-to-register-and-play__faq-answer p {
  color: #ffffff; /* Default text to white for dark background */
}

.page-blog-how-to-register-and-play__section-title {
  color: #26A9E0; /* Brand color for section titles, good contrast on dark background */
}

.page-blog-how-to-register-and-play__subsection-title {
  color: #ffffff;
}

.page-blog-how-to-register-and-play__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
}

.page-blog-how-to-register-and-play__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

/* Links within text */
.page-blog-how-to-register-and-play a {
  color: #26A9E0; /* Brand blue for links */
  text-decoration: underline;
}

.page-blog-how-to-register-and-play a:hover {
  color: #1a7bbd; /* Slightly darker blue on hover */
}