/* General styles for page-888k */
.page-888k {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0;
  background-color: #1a1a1a;
  line-height: 1.6;
}

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

.page-888k__section-title {
  font-size: 2.5em;
  color: #ffd700; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-888k__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* Buttons */
.page-888k__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-888k__button--primary {
  background-color: #ffd700; /* Gold */
  color: #1a1a1a;
  border: 2px solid #ffd700;
}

.page-888k__button--primary:hover {
  background-color: #ffeb80;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-888k__button--secondary {
  background-color: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
}

.page-888k__button--secondary:hover {
  background-color: #ffd700;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-888k__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 20px;
}

/* Hero Section */
.page-888k__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small padding to avoid double header offset */
  box-sizing: border-box;
}

.page-888k__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-888k__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-888k__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-888k__hero-title {
  font-size: 3.8em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-888k__hero-subtitle {
  font-size: 1.5em;
  color: #ffd700;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Introduction Section */
.page-888k__introduction-section {
  padding: 60px 0;
  background-color: #222;
}

/* Products Section */
.page-888k__products-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-888k__product-item {
  background-color: #2a2a2a;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; /* Ensure it takes full width in grid item */
  max-width: 350px; /* Limit max width for aesthetic */
  box-sizing: border-box;
}

.page-888k__product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-888k__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-bottom: 4px solid #ffd700;
  max-width: 100%;
  box-sizing: border-box;
}

.page-888k__product-title {
  font-size: 1.8em;
  color: #ffd700;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-888k__product-description {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Promotions Section */
.page-888k__promotions-section {
  padding: 60px 0;
  background-color: #222;
}

.page-888k__promotion-card {
  display: flex;
  background-color: #2a2a2a;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
}

.page-888k__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.page-888k__promotion-image {
  width: 40%;
  height: 250px;
  object-fit: cover;
  max-width: 100%;
  box-sizing: border-box;
}

.page-888k__promotion-content {
  padding: 25px 30px;
  flex: 1;
}

.page-888k__promotion-title {
  font-size: 1.8em;
  color: #ffd700;
  margin-bottom: 10px;
}

.page-888k__promotion-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-888k__promotion-date {
  font-size: 0.9em;
  color: #aaa;
  margin-bottom: 20px;
}

/* Features Section */
.page-888k__features-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-888k__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-items: center;
}

.page-888k__feature-item {
  background-color: #2a2a2a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* Ensure it takes full width in grid item */
  max-width: 300px; /* Limit max width for aesthetic */
  box-sizing: border-box; /* Crucial for list item responsive */
}

.page-888k__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.page-888k__feature-icon {
  width: 200px; /* Increased from 100px to meet min 200x200 requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-888k__feature-title {
  font-size: 1.5em;
  color: #ffd700;
  margin-bottom: 10px;
}

.page-888k__feature-description {
  font-size: 1em;
  color: #ccc;
}

/* FAQ Section */
.page-888k__faq-section {
  padding: 60px 0;
  background-color: #222;
}

.page-888k__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-888k__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-888k__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #333;
  color: #ffd700;
  font-size: 1.2em;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-888k__faq-question:hover {
  background-color: #444;
}

.page-888k__faq-question-text {
  margin: 0;
  flex-grow: 1;
  color: #ffd700;
  pointer-events: none; /* Prevent text from blocking click event */
}

.page-888k__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle icon from blocking click event */
  transition: transform 0.3s ease;
}

.page-888k__faq-item.active .page-888k__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

.page-888k__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #e0e0e0;
  font-size: 1.1em;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.page-888k__faq-item.active .page-888k__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
}

/* Floating Buttons */
.page-888k__floating-buttons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.page-888k__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.page-888k__floating-button--register {
  background-color: #ff4757; /* Red accent */
  color: #fff;
}

.page-888k__floating-button--register:hover {
  background-color: #e63946;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-888k__floating-button--login {
  background-color: #00b894; /* Green accent */
  color: #fff;
}

.page-888k__floating-button--login:hover {
  background-color: #00a884;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}


/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-888k__hero-title {
    font-size: 3em;
  }
  .page-888k__hero-subtitle {
    font-size: 1.3em;
  }
  .page-888k__promotion-card {
    flex-direction: column;
  }
  .page-888k__promotion-image {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-888k__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-888k__hero-section {
    height: 450px;
    padding-top: 10px;
  }
  .page-888k__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-888k__hero-subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-888k__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-888k__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-888k__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-888k__paragraph {
    font-size: 1em;
  }

  /* Product grid on mobile */
  .page-888k__product-grid {
    grid-template-columns: 1fr;
  }
  .page-888k__product-item {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-888k__product-image {
    height: 180px;
  }

  /* Promotions on mobile */
  .page-888k__promotion-card {
    flex-direction: column;
  }
  .page-888k__promotion-image {
    width: 100%;
    height: 180px;
  }
  .page-888k__promotion-content {
    padding: 20px;
  }
  .page-888k__promotion-title {
    font-size: 1.5em;
  }
  .page-888k__promotion-description {
    font-size: 0.95em;
  }

  /* Features list on mobile */
  .page-888k__features-list {
    grid-template-columns: 1fr;
    padding: 0 !important; /* Ensure no extra padding from ul/ol */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-888k__feature-item {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px; /* Adjust padding for smaller screens */
    word-wrap: break-word !important; /* Ensure text wraps */
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .page-888k__feature-icon {
    width: 150px; /* Adjusted for mobile */
    height: 150px; /* Adjusted for mobile */
  }
  .page-888k__feature-title {
    font-size: 1.3em;
  }
  .page-888k__feature-description {
    font-size: 0.9em;
  }

  /* FAQ on mobile */
  .page-888k__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-888k__faq-answer {
    padding: 0 20px;
    font-size: 1em;
  }
  .page-888k__faq-item.active .page-888k__faq-answer {
    padding: 15px 20px !important;
  }

  /* Floating buttons on mobile */
  .page-888k__floating-buttons {
    width: calc(100% - 40px); /* Account for padding */
    bottom: 15px;
    gap: 10px;
  }
  .page-888k__floating-button {
    flex: 1;
    font-size: 1em;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-888k__hero-title {
    font-size: 1.8em;
  }
  .page-888k__hero-subtitle {
    font-size: 0.9em;
  }
  .page-888k__button {
    width: 90%;
  }
  .page-888k__section-title {
    font-size: 1.8em;
  }
  .page-888k__floating-buttons {
    width: calc(100% - 30px);
    bottom: 10px;
  }
  .page-888k__floating-button {
    font-size: 0.9em;
    padding: 8px 10px;
  }
}