/* style/user-community.css */
.page-user-community {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f7f6;
}

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

/* Hero Section */
.page-user-community__hero-section {
  background: linear-gradient(135deg, #0A2463, #3a5c96);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-user-community__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

.page-user-community__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-user-community__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-user-community__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1em;
}

.page-user-community__btn--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-user-community__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-user-community__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-user-community__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-user-community__btn--outline {
  background-color: transparent;
  color: #0A2463;
  border: 2px solid #0A2463;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-user-community__btn--outline:hover {
  background-color: #0A2463;
  color: #fff;
}

.page-user-community__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* General Sections */
.page-user-community__features-section,
.page-user-community__sub-pages-section,
.page-user-community__cta-section,
.page-user-community__app-download-section,
.page-user-community__safety-section,
.page-user-community__content-gain {
  padding: 60px 0;
}

.page-user-community__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

/* Features Section */
.page-user-community__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-user-community__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-community__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-user-community__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-user-community__feature-heading {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-user-community__feature-text {
  color: #555;
  font-size: 1em;
}

/* Sub-pages Section */
.page-user-community__sub-page-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-user-community__sub-page-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-community__sub-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-user-community__card-title {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-user-community__card-title a {
  color: #0A2463;
  text-decoration: none;
}

.page-user-community__card-title a:hover {
  color: #FFD700;
}

.page-user-community__card-description {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-user-community__cta-section {
  background-color: #0A2463;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.page-user-community__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-user-community__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
}

.page-user-community__cta-small-text {
  margin-top: 20px;
  font-size: 0.95em;
}

.page-user-community__cta-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-user-community__cta-link:hover {
  color: #fff;
}

/* App Download Section */
.page-user-community__app-download-section {
  background-color: #eaf1f0;
  padding: 80px 0;
}

.page-user-community__app-download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-user-community__app-text-content h2 {
  color: #0A2463;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-user-community__app-text-content p {
  color: #555;
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-user-community__app-image-wrapper {
  max-width: 400px;
  width: 100%;
}

.page-user-community__app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .page-user-community__app-download-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-user-community__app-text-content {
    flex: 1;
    padding-right: 40px;
  }

  .page-user-community__app-image-wrapper {
    flex: 1;
    max-width: 50%;
  }

  .page-user-community__app-text-content p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Safety Section */
.page-user-community__safety-section {
  background-color: #fcfcfc;
  text-align: center;
}

.page-user-community__safety-section h2 {
  color: #0A2463;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-user-community__safety-section p {
  color: #555;
  max-width: 800px;
  margin: 0 auto 25px;
  font-size: 1.05em;
}

/* Content Gain Section */
.page-user-community__content-gain {
  background-color: #fff;
  padding: 60px 0;
}

.page-user-community__content-gain h2 {
  font-size: 2.5em;
  color: #0A2463;
  margin-bottom: 40px;
  text-align: center;
}

.page-user-community__content-gain h3 {
  font-size: 1.8em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-user-community__content-gain p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.page-user-community__content-gain ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #444;
}

.page-user-community__content-gain li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-user-community__hero-title {
    font-size: 2.8em;
  }
  .page-user-community__section-title {
    font-size: 2em;
  }
  .page-user-community__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-user-community__hero-section {
    padding: 60px 0;
  }
  .page-user-community__hero-title {
    font-size: 2.2em;
  }
  .page-user-community__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-user-community__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-user-community__btn--large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-user-community__features-section,
  .page-user-community__sub-pages-section,
  .page-user-community__cta-section,
  .page-user-community__app-download-section,
  .page-user-community__safety-section,
  .page-user-community__content-gain {
    padding: 40px 0;
  }
  .page-user-community__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-user-community__feature-item,
  .page-user-community__sub-page-card {
    padding: 25px;
  }
  .page-user-community__feature-heading,
  .page-user-community__card-title {
    font-size: 1.2em;
  }
  .page-user-community__cta-title {
    font-size: 2em;
  }
  .page-user-community__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-user-community__content-gain h3 {
    font-size: 1.5em;
  }
  .page-user-community__content-gain p {
    font-size: 1em;
  }
  .page-user-community__app-download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-user-community__app-text-content {
    padding-right: 0;
  }
  .page-user-community__app-image-wrapper {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .page-user-community__hero-title {
    font-size: 1.8em;
  }
  .page-user-community__section-title {
    font-size: 1.5em;
  }
  .page-user-community__cta-title {
    font-size: 1.6em;
  }
  .page-user-community__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-user-community__btn--large {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}