/* style/resources-hm888-app-download-install.css */

/* Variables */
:root {
  --page-primary-color: #0D47A1;
  --page-secondary-color: #FFD700;
  --page-text-color-dark: #333;
  --page-text-color-light: #fff;
  --page-background-light: #f4f7f6;
  --page-background-dark: #0a3b83; /* Slightly darker than primary for contrast */
  --page-accent-color: #f2b85e; /* Complementary to primary */
}

.page-resources-hm888-app-download-install {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-color-dark);
  background-color: var(--page-background-light);
}

.page-resources-hm888-app-download-install__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-hm888-app-download-install__hero-section {
  background: linear-gradient(135deg, var(--page-primary-color), #1a56b8); /* Gradient from primary to a lighter blue */
  color: var(--page-text-color-light);
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-hm888-app-download-install__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-hm888-app-download-install__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hm888-app-download-install__download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-resources-hm888-app-download-install__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-resources-hm888-app-download-install__btn--primary {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  border-color: var(--page-secondary-color);
}

.page-resources-hm888-app-download-install__btn--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-hm888-app-download-install__btn--secondary {
  background-color: transparent;
  color: var(--page-secondary-color);
  border-color: var(--page-secondary-color);
}

.page-resources-hm888-app-download-install__btn--secondary:hover {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  transform: translateY(-2px);
}

.page-resources-hm888-app-download-install__btn--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-resources-hm888-app-download-install__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-resources-hm888-app-download-install__btn--xl {
  padding: 20px 40px;
  font-size: 1.4em;
  border-radius: 10px;
}

.page-resources-hm888-app-download-install__hero-image-wrapper {
  margin-top: 30px;
}

.page-resources-hm888-app-download-install__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-resources-hm888-app-download-install__section {
  padding: 60px 0;
}

.page-resources-hm888-app-download-install__section:nth-of-type(even) {
  background-color: #e0e6ec; /* Light gray-blue for alternating sections */
}

.page-resources-hm888-app-download-install__section-title {
  font-size: 2.2em;
  color: var(--page-primary-color);
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.page-resources-hm888-app-download-install__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-resources-hm888-app-download-install__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
}

/* Why HM888 Section */
.page-resources-hm888-app-download-install__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-hm888-app-download-install__feature-item {
  background-color: var(--page-text-color-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-hm888-app-download-install__feature-item:hover {
  transform: translateY(-5px);
}

.page-resources-hm888-app-download-install__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-resources-hm888-app-download-install__feature-title {
  font-size: 1.4em;
  color: var(--page-primary-color);
  margin-bottom: 15px;
}

.page-resources-hm888-app-download-install__feature-description {
  font-size: 0.95em;
  color: #666;
}

/* Download Guide Section */
.page-resources-hm888-app-download-install__guide-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #ccc;
}

.page-resources-hm888-app-download-install__tab-button {
  background-color: transparent;
  border: none;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  color: #777;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.page-resources-hm888-app-download-install__tab-button--active {
  color: var(--page-primary-color);
  border-bottom-color: var(--page-primary-color);
}

.page-resources-hm888-app-download-install__tab-button:hover:not(.page-resources-hm888-app-download-install__tab-button--active) {
  color: var(--page-secondary-color);
}

.page-resources-hm888-app-download-install__tab-content {
  display: none;
  padding-top: 20px;
}

.page-resources-hm888-app-download-install__tab-content--active {
  display: block;
}

.page-resources-hm888-app-download-install__subsection-title {
  font-size: 1.8em;
  color: var(--page-primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-hm888-app-download-install__step-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-hm888-app-download-install__step-list li {
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
  font-size: 1.05em;
  color: #444;
}

.page-resources-hm888-app-download-install__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--page-primary-color);
  color: var(--page-text-color-light);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources-hm888-app-download-install__step-list li strong {
  color: var(--page-primary-color);
}

.page-resources-hm888-app-download-install__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  display: block;
}

.page-resources-hm888-app-download-install__note {
  text-align: center;
  font-style: italic;
  margin-top: 40px;
  color: #777;
}

/* Registration & Login Section */
.page-resources-hm888-app-download-install__split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-hm888-app-download-install__split-item {
  background-color: var(--page-text-color-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-hm888-app-download-install__split-item .page-resources-hm888-app-download-install__subsection-title {
  text-align: left;
  margin-top: 0;
}

.page-resources-hm888-app-download-install__split-item .page-resources-hm888-app-download-install__step-list {
  max-width: none;
  margin-left: 0;
}

.page-resources-hm888-app-download-install__full-width-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  margin-top: 50px;
}

/* App Features Section */
.page-resources-hm888-app-download-install__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-hm888-app-download-install__feature-card {
  background-color: var(--page-text-color-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hm888-app-download-install__feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-hm888-app-download-install__feature-card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-resources-hm888-app-download-install__feature-card-title {
  font-size: 1.5em;
  color: var(--page-primary-color);
  margin-bottom: 15px;
}

.page-resources-hm888-app-download-install__feature-card-description {
  font-size: 1em;
  color: #666;
}

/* FAQ Section */
.page-resources-hm888-app-download-install__faq-item {
  background-color: var(--page-text-color-light);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-hm888-app-download-install__faq-question {
  font-size: 1.3em;
  color: var(--page-primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources-hm888-app-download-install__faq-answer {
  font-size: 1em;
  color: #555;
}

/* Call to Action Section */
.page-resources-hm888-app-download-install__section--cta {
  background: var(--page-primary-color);
  color: var(--page-text-color-light);
  text-align: center;
  padding: 80px 0;
}

.page-resources-hm888-app-download-install__cta-content {
  max-width: 900px;
}

.page-resources-hm888-app-download-install__cta-title {
  font-size: 2.8em;
  color: var(--page-secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-hm888-app-download-install__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-resources-hm888-app-download-install__cta-subtext {
  margin-top: 20px;
  font-size: 1.1em;
}

.page-resources-hm888-app-download-install__cta-subtext a {
  color: var(--page-secondary-color);
  text-decoration: underline;
  font-weight: bold;
}