.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for sections on dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

/* Video Section */
.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); /* Ensure space below fixed header */
  background-color: var(--dark-bg-1);
}

.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; /* Prevents video controls from interfering with click event */
}

.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(0, 116, 57, 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: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  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: #a30606; /* Darker red on hover */
  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);
}

/* Hero Section (H1 + CTA Buttons) */
.page-index__hero-section {
  padding: 80px 20px;
  text-align: center;
  background: #017439; /* Primary color background */
  color: #ffffff; /* White text for contrast */
  position: relative;
  z-index: 2;
}

.page-index__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-register {
  background: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
}

.page-index__btn-register:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index__btn-login {
  background: #C30808; /* Login button color */
  color: #FFFF00; /* Login font color */
}

.page-index__btn-login:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Why Choose Section */
.page-index__why-choose-section {
  padding: 80px 20px;
  background: #ffffff; /* White background */
  color: #333333; /* Dark text for contrast */
  text-align: center;
}

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

.page-index__why-choose-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017439; /* Primary color for title */
}

.page-index__why-choose-intro {
  font-size: 17px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index__why-choose-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-index__why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__why-choose-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__why-choose-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439; /* Primary color for item title */
}

.page-index__why-choose-item-description {
  font-size: 16px;
  color: #555555;
}

/* Game Variety Section */
.page-index__game-variety-section {
  padding: 80px 20px;
  background: #017439; /* Primary color background */
  color: #ffffff; /* White text for contrast */
  text-align: center;
}

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

.page-index__game-variety-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-index__game-variety-intro {
  font-size: 17px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__game-variety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index__game-variety-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-variety-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__game-variety-link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding-bottom: 20px;
}

.page-index__game-variety-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__game-variety-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-index__game-variety-item-description {
  font-size: 15px;
  color: #e0e0e0;
  padding: 0 20px;
}

/* Brand Introduction Section */
.page-index__brand-section {
  padding: 80px 20px;
  background: #ffffff; /* White background */
  color: #333333; /* Dark text for contrast */
  text-align: center;
}

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

.page-index__brand-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017439; /* Primary color for title */
}

.page-index__brand-intro-text {
  font-size: 17px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__brand-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-index__brand-detail-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-index__brand-detail-description {
  font-size: 16px;
  margin-bottom: 15px;
  color: #555555;
}

.page-index__brand-advantages-list,
.page-index__brand-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index__brand-advantages-list li,
.page-index__brand-values-list li {
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #555555;
}

.page-index__brand-advantages-list li::before,
.page-index__brand-values-list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 20px;
  background: #ffffff; /* White background */
  color: #333333; /* Dark text for contrast */
}

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

.page-index__faq-main-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #017439; /* Primary color for title */
}

.page-index__faq-intro-text {
  font-size: 17px;
  margin-bottom: 50px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__faq-list {
  margin-top: 30px;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index__faq-item.active .page-index__faq-toggle {
  color: #C30808;
  transform: rotate(45deg);
}

.page-index__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #fcfcfc;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page-index__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-index__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Blog Section */
.page-index__blog-section {
  padding: 80px 20px;
  background: #017439; /* Primary color background */
  color: #ffffff; /* White text for contrast */
  text-align: center;
}

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

.page-index__blog-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-index__blog-intro-text {
  font-size: 17px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index__blog-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-index__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__blog-item-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.page-index__blog-item-content {
  padding: 20px;
}

.page-index__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-index__blog-item-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__blog-item-title a:hover {
  color: #FFFF00; /* Yellow on hover */
}

.page-index__blog-item-excerpt {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-index__blog-item-date {
  font-size: 14px;
  color: #cccccc;
  display: block;
}

.page-index__view-all-button-wrapper {
  margin-top: 50px;
}

.page-index__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #017439;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #017439;
}

.page-index__view-all-button:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Final Call to Action Section */
.page-index__final-cta-section {
  padding: 80px 20px;
  background: #017439; /* Primary color background */
  color: #ffffff; /* White text for contrast */
  text-align: center;
}

.page-index__final-cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__final-cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-index__final-cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
}