body,
html {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background-color: #111; /* Màu nền dự phòng */
}

/* 1. Hình nền cố định khi cuộn trang */
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1; /* Nằm dưới cùng */
}

@media (max-width: 767.98px) {
  .bg-image {
    background-image: url("../images/bg.jpeg");
    filter: blur(4px);
    -webkit-filter: blur(4px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (min-width: 767.98px) {
  .bg-image {
    background-image: url("../images/bg-desktop.jpg");
    filter: blur(4px);
    -webkit-filter: blur(4px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

/* 2. Bỏ position absolute để trang có thể cuộn tự nhiên */
main.wrapper {
  position: relative;
  font-family:
    Helvetica Neue,
    Segoe UI,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  width: 100%;
  z-index: 2; /* Nằm trên bg-image */
}

/* 3. Phần Age Gate chiếm đúng 1 màn hình đầu tiên (100vh) */
section.section {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header {
  height: 120px;
  width: 120px;
  display: block;
  margin-bottom: 30px;
}

header .image-url {
  display: block;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
}

section.section .headline-text {
  margin-bottom: 24px;
  padding: 0;
  color: rgb(255, 255, 255);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

section.section .message-text {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  text-align: center;
}

.call-to-action {
  text-align: center;
  width: 100%;
}

.button-section {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* CSS cho nút bấm (Giữ nguyên hiệu ứng cũ của bạn) */
.button-section .button-shape {
  border-radius: 100px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 16px;
  height: 52px;
  margin-bottom: 64px;
  max-width: 290px;
  min-width: 262px;
  width: inherit;
  transition: all 0.3s ease;
  align-items: center;
  border: none;
  box-shadow: none;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
  white-space: nowrap;
}

.button-section .button {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: button_shadow 5s cubic-bezier(1, 0.04, 0, 0.95) infinite;
}

.button-section .button:after,
.button-section .button:before {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  top: 0;
}

.button-section .button:before {
  background: hsla(0, 0%, 100%, 0.5);
  width: 15px;
  left: 0;
  filter: blur(2px);
  animation: button_shine-alt1 5s cubic-bezier(0.88, 0.05, 0.1, 0.94) infinite;
}

.button-section .button:after {
  background: hsla(0, 0%, 100%, 0.2);
  width: 15px;
  left: 15px;
  filter: blur(5px);
  animation: button_shine-alt2 5s cubic-bezier(0.88, 0.05, 0.1, 0.94) infinite;
}

.button-section .button-backgroundcolor {
  background: #ff2363;
  color: #ffffff;
}

.button-text {
  text-align: center;
  white-space: normal;
  width: 100%;
  font-size: 18px;
}

a.destination-target_url {
  color: inherit;
  text-decoration: inherit;
}

/* 4. Giao diện mượt mà cho phần nội dung SEO ở dưới */
.seo-content {
  max-width: 800px;
  margin: 0 auto 80px auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.65); /* Nền đen bán trong suốt */
  backdrop-filter: blur(12px); /* Hiệu ứng làm mờ kính */
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  color: #f1f1f1;
  line-height: 1.8;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.seo-content h1 {
  font-size: 32px;
  color: #ff2363;
  margin-top: 0;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.seo-content h2 {
  font-size: 22px;
  color: #ff2363;
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 35, 99, 0.3);
  padding-bottom: 8px;
}

.seo-content p {
  margin-bottom: 16px;
}

.seo-content ul,
.seo-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.seo-content li {
  margin-bottom: 10px;
}

.seo-content strong {
  color: #ffffff;
  font-weight: 700;
}

/* Các Keyframes giữ nguyên */
@keyframes button_shadow {
  0% {
    box-shadow: none;
  }
  70% {
    box-shadow: 0 0 10px #ff2363;
    background: #ff2363;
  }
  to {
    box-shadow: none;
  }
}

@keyframes button_shine-alt1 {
  0% {
    opacity: 0.7;
    transform: translateX(-50px) skewX(-15deg);
    transition-property: opacity, transform;
  }
  80%,
  to {
    opacity: 1;
    transform: translateX(400px) skewX(-15deg);
    transition-property: opacity, transform;
  }
}

@keyframes button_shine-alt2 {
  0% {
    opacity: 1;
    transform: translateX(-50px) skewX(-15deg);
    transition-property: opacity, transform;
  }
  80%,
  to {
    opacity: 1;
    transform: translateX(400px) skewX(-15deg);
    transition-property: opacity, transform;
  }
}

/* 5. Footer Styles */
/* Đảm bảo Footer luôn nằm dưới nội dung bài viết */
.main-footer {
  position: relative;
  z-index: 3; /* Cao hơn cả wrapper để đảm bảo hiển thị tốt */
  background: rgba(10, 10, 10, 0.98);
  padding: 60px 20px;
  border-top: 1px solid rgba(255, 35, 99, 0.3);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo .logo-text {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.footer-logo .logo-text span {
  color: #ff2363;
}

.footer-links {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 40px;
  text-align: center;
}

.link-group {
  margin: 20px;
  min-width: 150px;
}

.link-group h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.link-group a {
  display: block;
  color: #888;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: #ff2363;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  margin-bottom: 10px;
  font-size: 13px;
}

.footer-bottom .disclaimer {
  font-size: 11px;
  color: #555;
  font-style: italic;
}

/* Mobile Responsive cho Footer */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .link-group {
    margin: 15px 0;
  }
}
