/* style/index-how-to-register-bj88.css */

/* Variables and Base Styles */
:root {
  --primary-color: #1A2B3C; /* Deep blue-black */
  --primary-color-darker: #162431; /* Darkened primary */
  --secondary-color: #FFD700; /* Gold */
  --secondary-color-darker: #E6C200; /* Darkened secondary */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-index-how-to-register-bj88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark); /* Default text color for light body background */
  line-height: 1.6;
  background-color: #ffffff; /* Explicitly setting for clarity based on default */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

/* Global image responsive styles */
.page-index-how-to-register-bj88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General Section Styling */
.page-index-how-to-register-bj88__section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-how-to-register-bj88__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-index-how-to-register-bj88 h1,
.page-index-how-to-register-bj88 h2,
.page-index-how-to-register-bj88 h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-index-how-to-register-bj88 h1 {
  font-size: 3em;
  font-weight: bold;
  color: var(--primary-color);
}

.page-index-how-to-register-bj88 h2 {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
}

.page-index-how-to-register-bj88 h3 {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--primary-color);
}

.page-index-how-to-register-bj88 p {
  margin-bottom: 15px;
  color: var(--text-color-dark);
}

/* --- Video Section --- */
.page-index-how-to-register-bj88__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust this based on actual header height */
  background-color: var(--primary-color); /* Dark background for video section */
}

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

.page-index-how-to-register-bj88__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-how-to-register-bj88__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index-how-to-register-bj88__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index-how-to-register-bj88__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-index-how-to-register-bj88__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index-how-to-register-bj88__video-link:hover .page-index-how-to-register-bj88__video-overlay {
  opacity: 1;
}

.page-index-how-to-register-bj88__video-click-hint {
  color: var(--text-color-light);
  font-size: 1.1em;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8); /* Gold with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

.page-index-how-to-register-bj88__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-index-how-to-register-bj88__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Gold button */
  color: var(--primary-color); /* Dark text on gold */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-how-to-register-bj88__play-now-button:hover {
  background: var(--secondary-color-darker); /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.page-index-how-to-register-bj88__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Module 1: H1 Title + CTA Buttons --- */
.page-index-how-to-register-bj88__title-section {
  padding: 80px 20px 40px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
}

.page-index-how-to-register-bj88__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-how-to-register-bj88__main-title {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-index-how-to-register-bj88__title-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

.page-index-how-to-register-bj88__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index-how-to-register-bj88__cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index-how-to-register-bj88__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
}