/* style/index.css */

/* Base styles for the page content */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: transparent; /* inherited from body, which is var(--neon-dark-bg) */
}

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

/* Video Section (Module 0) */
.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for video section */
}

.page-index__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__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__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index__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.15);
}

.page-index__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 on parent <a> */
}

.page-index__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.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index__video-link:hover .page-index__video-overlay {
  opacity: 1;
}

.page-index__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(38, 169, 224, 0.8); /* Using primary color with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

.page-index__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-index__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #26A9E0); /* Using brand primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-index__play-now-button:hover {
  background: #1e8dc2; /* Slightly darker shade of primary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* H1 Title + Activity Promotion Buttons (Module 1) */
.page-index__title-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.8), rgba(0, 0, 0, 0.8)), url('[GALLERY:hero_main:1920x1080:slot 365,homepage,main_banner]') no-repeat center center / cover; /* Using hero image as background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index__title-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-index__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__title-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--primary {
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index__cta-button--primary:hover {
  background: #1e8dc2;
  border-color: #1e8dc2;
  transform: translateY(-2px);
}

.page-index__cta-button--secondary {
  background: #EA7C07; /* "Login" color, used for secondary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-index__cta-button--secondary:hover {
  background: #c76706;
  border-color: #c76706;
  transform: translateY(-2px);
}

/* Brand Introduction (Module 3) */
.page-index__brand-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Dark background for brand section */
  color: #ffffff;
  text-align: center;
}

.page-index__brand-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__brand-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #26A9E0; /* Primary brand color for title */
}

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

.page-index__brand-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index__brand-item:hover {
  transform: translateY(-5px);
}

.page-index__brand-item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-index__brand-item p {
  font-size: 16px;
  color: #cccccc;
}

.page-index__brand-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
}

/* FAQ Section (Module 2) */
.page-index__faq-section {
  padding: 80px 20px;
  background-color: #0d0d0d; /* Even darker background for FAQ */
  color: #ffffff;
}

.page-index__faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-index__faq-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #26A9E0; /* Primary brand color for title */
}

.page-index__faq-list {
  margin-bottom: 40px;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Light transparent background for FAQ items */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-index__faq-item summary.page-index__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: #ffffff;
  font-size: 18px;
  font-weight: 600;
}
details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index__faq-item summary.page-index__faq-question:hover {
  background: rgba(38, 169, 224, 0.2); /* Hover with primary color tint */
}
.page-index__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}