.page-phdream-originals {
  font-family: Arial, sans-serif;
  color: #E5E5E5; /* Light grey for text on dark background */
  background-color: #000000; /* Main color as background for the page content */\  line-height: 1.6;
  padding-bottom: 20px;
}

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

.page-phdream-originals__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small padding to separate from fixed header */
  background-color: #000000;
  padding-bottom: 40px;
}

.page-phdream-originals__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-phdream-originals__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-phdream-originals__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-phdream-originals__main-title {
  color: #FFFFFF;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(252, 188, 69, 0.5);
  /* font-size constraint: no fixed large font-size, use relative sizing or clamp */
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-phdream-originals__intro-text {
  color: #E5E5E5;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

.page-phdream-originals__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-size: 1rem;
}

.page-phdream-originals__btn--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
}

.page-phdream-originals__btn--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-phdream-originals__btn--login {
  background-color: #FCBC45; /* Custom color for Login */
  color: #000000;
}

.page-phdream-originals__btn--login:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.page-phdream-originals__btn--download {
  background-color: #FCBC45; /* Using login button color for download as well */
  color: #000000;
}

.page-phdream-originals__btn--download:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.page-phdream-originals__section-title {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-phdream-originals__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-phdream-originals__about-section {
  background-color: #1A1A1A; /* Darker section background */
  padding: 60px 0;
}

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

.page-phdream-originals__text-content {
  flex: 1;
  min-width: 300px;
}

.page-phdream-originals__text-content p {
  margin-bottom: 15px;
  color: #E5E5E5;
}

.page-phdream-originals__image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-phdream-originals__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-phdream-originals__features-section {
  background-color: #000000;
  padding: 60px 0;
}

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

.page-phdream-originals__feature-card {
  background-color: #1A1A1A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-phdream-originals__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(252, 188, 69, 0.2);
}

.page-phdream-originals__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 400px; /* Limit max width for smaller images */
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-phdream-originals__feature-title {
  color: #FCBC45;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-phdream-originals__feature-card p {
  color: #E5E5E5;
  font-size: 0.95rem;
}

.page-phdream-originals__cta-section {
  background-color: #1A1A1A;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-phdream-originals__cta-text {
  color: #E5E5E5;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-phdream-originals__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.page-phdream-originals__cta-image {
  position: absolute;
  bottom: -50px; /* Adjust to show part of the image */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.15;
  width: 100%;
  max-width: 1200px;
  height: auto;
  z-index: 0;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

@media (max-width: 768px) {
  .page-phdream-originals__hero-content {
    padding: 0 15px;
  }

  .page-phdream-originals__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-phdream-originals__intro-text {
    font-size: 1rem;
  }

  .page-phdream-originals__hero-buttons,
  .page-phdream-originals__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-phdream-originals__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 12px 20px;
  }

  .page-phdream-originals__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-phdream-originals__content-wrapper {
    flex-direction: column;
  }

  .page-phdream-originals__image-content {
    order: -1; /* Image above text on mobile */
  }

  /* Mobile content area image constraint */
  .page-phdream-originals img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-phdream-originals__container {
    padding: 15px;
  }

  .page-phdream-originals__hero-section {
    padding-bottom: 30px;
  }

  .page-phdream-originals__section-title {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-phdream-originals__features-grid {
    grid-template-columns: 1fr;
  }

  .page-phdream-originals__feature-card {
    padding: 20px;
  }
}