/* style/index.css */
/* 
 * Màu sắc:
 * Chính: #26A9E0
 * Phụ: #FFFFFF
 * Đăng nhập: #EA7C07
 * Nền: var(--dark-bg-1) (từ shared.css, giả định là nền tối)
 * Văn bản: #ffffff (để đảm bảo tương phản với nền tối)
 */

.page-index {
  color: #ffffff; /* Văn bản mặc định cho nền tối của body */
  background-color: var(--dark-bg-1); /* Từ shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* 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); /* Đảm bảo không bị header che */
  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; /* Prevent video controls from interfering with click event */
}