.page-mv88 {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-mv88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-mv88__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-mv88__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #64748b;
  border-radius: 2px;
}

.page-mv88__section-description {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-mv88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-mv88__btn--primary {
  background-color: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}

.page-mv88__btn--primary:hover {
  background-color: #1e40af;
  border-color: #1e40af;
}

.page-mv88__btn--secondary {
  background-color: #ffffff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.page-mv88__btn--secondary:hover {
  background-color: #f0f0f0;
  color: #1e40af;
  border-color: #1e40af;
}

.page-mv88__btn--text {
  background: none;
  border: none;
  color: #2563eb;
  padding: 0;
  font-size: 16px;
  text-decoration: underline;
}

.page-mv88__btn--text:hover {
  color: #1e40af;
}

.page-mv88__btn--large {
  padding: 15px 35px;
  font-size: 20px;
}

/* Hero Section */
.page-mv88__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-mv88__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 810px;
}

.page-mv88__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  max-width: 900px;
  margin-top: -100px; /* Overlap with image slightly for visual effect */
}

.page-mv88__hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-mv88__hero-description {
  font-size: 20px;
  color: #444444;
  margin-bottom: 30px;
}

/* Floating Button */
.page-mv88__floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #eab308; /* A vibrant color for promotion */
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  animation: pulse 2s infinite;
  display: none; /* Hidden by default, shown by JS on mobile */
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-mv88__floating-button:hover {
  background-color: #d9a007;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* About Section */
.page-mv88__about-section {
  padding: 80px 0;
}

.page-mv88__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-mv88__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-mv88__image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: block;
  max-height: 600px;
  object-fit: cover;
}

.page-mv88__text-block {
  flex: 1;
  max-width: 50%;
}

.page-mv88__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #444444;
}

/* Game Categories */
.page-mv88__game-categories {
  padding: 80px 0;
  background-color: #f0f4f8;
}

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

.page-mv88__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-mv88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-mv88__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-mv88__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
  margin: 20px 15px 10px;
}

.page-mv88__game-description {
  font-size: 15px;
  color: #666666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-mv88__promotions-section {
  padding: 80px 0;
}

/* Guide Section */
.page-mv88__guide-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

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

.page-mv88__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-mv88__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-mv88__guide-title {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 15px;
}

.page-mv88__guide-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-mv88__faq-section {
  padding: 80px 0;
}

details.page-mv88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-mv88__faq-item summary.page-mv88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-mv88__faq-item summary.page-mv88__faq-question::-webkit-details-marker {
  display: none;
}

details.page-mv88__faq-item summary.page-mv88__faq-question:hover {
  background: #f5f5f5;
}

.page-mv88__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-mv88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-mv88__faq-item .page-mv88__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-mv88__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

/* Call to Action Section */
.page-mv88__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
}

/* Color Schemes */
.page-mv88__dark-section {
  background-color: #2563eb;
  color: #ffffff;
}

.page-mv88__dark-section .page-mv88__section-title,
.page-mv88__dark-section .page-mv88__section-description,
.page-mv88__dark-section .page-mv88__text-block p,
.page-mv88__dark-section .page-mv88__faq-qtext {
  color: #ffffff;
}

.page-mv88__dark-section .page-mv88__section-title::after {
  background-color: #ffffff;
}

.page-mv88__light-bg {
  background-color: #f0f4f8;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-mv88__hero-title {
    font-size: 42px;
  }
  .page-mv88__hero-description {
    font-size: 18px;
  }
  .page-mv88__section-title {
    font-size: 32px;
  }
  .page-mv88__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-mv88__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-mv88__image,
  .page-mv88__text-block {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-mv88 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-mv88__container {
    padding: 15px;
  }
  .page-mv88__hero-section {
    padding-top: 10px;
    min-height: 400px;
  }
  .page-mv88__hero-image {
    height: 300px; /* Adjust height for mobile */
    object-fit: contain;
  }
  .page-mv88__hero-content {
    padding: 25px 15px;
    margin-top: -50px;
  }
  .page-mv88__hero-title {
    font-size: 32px;
  }
  .page-mv88__hero-description {
    font-size: 16px;
  }
  .page-mv88__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-mv88__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-mv88__btn {
    padding: 10px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-mv88__btn--large {
    padding: 12px 25px;
    font-size: 18px;
  }
  .page-mv88__floating-button {
    display: block;
    width: calc(100% - 30px);
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 15px 10px;
    font-size: 16px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-mv88__about-section,
  .page-mv88__game-categories,
  .page-mv88__promotions-section,
  .page-mv88__guide-section,
  .page-mv88__faq-section,
  .page-mv88__cta-section {
    padding: 40px 0;
  }
  .page-mv88__game-grid,
  .page-mv88__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-mv88__game-image {
    height: 180px;
  }
  .page-mv88__game-title {
    font-size: 20px;
  }
  .page-mv88__game-description {
    font-size: 14px;
  }
  .page-mv88__faq-qtext {
    font-size: 16px;
  }
  details.page-mv88__faq-item summary.page-mv88__faq-question {
    padding: 15px;
  }
  details.page-mv88__faq-item .page-mv88__faq-answer {
    padding: 0 15px 15px;
  }
  .page-mv88__image {
    height: 300px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-mv88__text-block p {
    font-size: 15px;
  }
  .page-mv88__guide-card,
  .page-mv88__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px;
  }
  .page-mv88__guide-text {
    font-size: 15px;
  }
}