@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Serif+SC:wght@400;700&display=swap');

/* Base styles for desktop (default) */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  color: #000000;
  overscroll-behavior: none; /* Prevent pull-to-refresh on mobile */
  overflow-x: hidden; /* Убираем горизонтальный скролл */
}
body[lang="zh"] {
  font-family: 'Noto Serif SC', serif;
}
.listings {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 80px;
  box-sizing: border-box;
  min-height: calc(100vh - 120px);
  max-width: 100vw;
}

/* Header styles for desktop */
.listings-header {
  background-color: #FFFFFF;
  padding: 0;
  z-index: 1000;
}
.listings-header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100vw;
  box-sizing: border-box;
}
.listings-header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.listings-header-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin: 0;
}
body[lang="zh"] .listings-header-title h3 {
  font-family: 'Noto Serif SC', serif;
}
.listings-header-about {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
body[lang="zh"] .listings-header-about {
  font-family: 'Noto Serif SC', serif;
}
.listings-header-about:hover {
  background-color: #F0F0F0;
}
.listings-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.listings-dropdown {
  position: relative;
}
.listings-dropdown-btn {
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 150px;
  white-space: nowrap;
  transition: all 0.3s ease;
}
body[lang="zh"] .listings-dropdown-btn {
  font-family: 'Noto Serif SC', serif;
}
.listings-dropdown-btn:hover {
  background-color: #F0F0F0;
}
.listings-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}
.listings-dropdown-content.open {
  display: block;
}
.listings-dropdown-item {
  padding: 10px 15px;
  font-size: 14px;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
body[lang="zh"] .listings-dropdown-item {
  font-family: 'Noto Serif SC', serif;
}
.listings-dropdown-item:hover {
  background-color: #F0F0F0;
}

/* Filter and offer section for desktop */
.filter-section {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin: 20px 0;
}
.offer .search-bar {
  background-color: transparent;
  padding: 15px 0 5px 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
.offer .search-bar-container {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.offer .filter-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.offer .filter-container {
  display: flex;
  align-items: center;
  gap: 0;
  background-color: #FFFFFF;
  border: 1px solid #D0D0D0;
  border-radius: 8px;
  padding: 1px;
  flex-grow: 1;
  flex-wrap: nowrap;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  width: 100%;
}
.offer .filter-container > *:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 1px;
  height: 24px;
  background-color: #D0D0D0;
  z-index: 1;
}
.offer .offer-title.centered {
  flex: 0 0 auto;
  text-align: center;
  padding: 10px 0;
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  width: 100%;
}
body[lang="zh"] .offer .offer-title.centered {
  font-family: 'Noto Serif SC', serif;
}
.offer .location-selector {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #222;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 120px;
  height: 40px;
  box-sizing: border-box;
  line-height: 1;
  border: none;
  border-radius: 8px 0 0 8px;
}
body[lang="zh"] .offer .location-selector {
  font-family: 'Noto Serif SC', serif;
}
.offer .location-part {
  flex: 1;
  padding: 0;
  justify-content: center;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
  height: 100%;
  transition: background-color 0.3s ease;
}
.offer .location-part.country {
  padding-left: 8px;
}
.offer .location-part.city {
  padding-right: 8px;
}
.offer .location-part:hover {
  background-color: #F0F0F0;
}
.offer .location-text {
  color: #222;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
body[lang="zh"] .offer .location-text {
  font-family: 'Noto Serif SC', serif;
}
.offer .deal-type-selector, .offer .property-type-selector {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #222;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 120px;
  height: 40px;
  box-sizing: border-box;
  line-height: 1;
  border: none;
}
body[lang="zh"] .offer .deal-type-selector, body[lang="zh"] .offer .property-type-selector {
  font-family: 'Noto Serif SC', serif;
}
.offer .deal-type-part, .offer .property-type-part {
  flex: 1;
  padding: 0 8px;
  justify-content: center;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
  height: 100%;
  transition: background-color 0.3s ease;
}
.offer .deal-type-part:hover, .offer .property-type-part:hover {
  background-color: #F0F0F0;
}
.offer .deal-type-text, .offer .property-type-text {
  color: #222;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
body[lang="zh"] .offer .deal-type-text, body[lang="zh"] .offer .property-type-text {
  font-family: 'Noto Serif SC', serif;
}
.offer .deal-type-dropdown, .offer .property-type-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: -1px;
  right: -1px;
  background-color: #fff;
  border: 1px solid #D0D0D0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  box-sizing: border-box;
}
.offer .deal-type-dropdown.open, .offer .property-type-dropdown.open {
  display: block;
}
.offer .deal-type-option, .offer .property-type-option {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  color: #222;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}
body[lang="zh"] .offer .deal-type-option, body[lang="zh"] .offer .property-type-option {
  font-family: 'Noto Serif SC', serif;
}
.offer .deal-type-option:hover, .offer .property-type-option:hover {
  background-color: #F0F0F0;
}
.offer .search-btn {
  padding: 0 12px;
  background-color: #6B2D5C;
  color: #FFFFFF;
  border: 1px solid #D0D0D0;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 40px;
  box-sizing: border-box;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
body[lang="zh"] .offer .search-btn {
  font-family: 'Noto Serif SC', serif;
}
.offer .search-btn:hover, .offer .search-btn:focus {
  background-color: #5A264F;
  outline: none;
}
.offer .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.offer .modal-cities {
  width: 90vw;
  max-width: 1200px;
  max-height: 80vh;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.offer .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #E5E5E5;
  background-color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.offer .modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
}
body[lang="zh"] .offer .modal-header h3 {
  font-family: 'Noto Serif SC', serif;
}
.offer .modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}
.offer .modal-close:hover {
  color: #6B2D5C;
}
.offer .modal-search-container {
  position: relative;
  margin: 20px 30px;
}
.offer .modal-search {
  padding: 0 12px 0 40px;
  border: 1px solid #D0D0D0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #222;
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.3s ease;
}
body[lang="zh"] .offer .modal-search {
  font-family: 'Noto Serif SC', serif;
}
.offer .modal-search:hover, .offer .modal-search:focus {
  border-color: #D0D0D0;
  outline: none;
}
.offer .modal-search::placeholder {
  color: #999;
  text-transform: capitalize;
}
body[lang="zh"] .offer .modal-search::placeholder {
  font-family: 'Noto Serif SC', serif;
}
.offer .modal-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
}
.offer .modal-content {
  flex: 1;
  padding: 20px 30px;
  background: linear-gradient(to bottom, rgba(255, 255, 251, 0) 90%, rgba(200, 200, 200, 0.2) 100%);
  overflow-y: auto;
  max-height: 400px;
}
.offer .cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px 0;
}
.offer .modal-item.city-item {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 400;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D0D0D0;
  border-radius: 8px;
  background-color: #fff;
  transition: background 0.3s ease;
  height: 40px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[lang="zh"] .offer .modal-item.city-item {
  font-family: 'Noto Serif SC', serif;
}
.offer .modal-item.city-item:hover {
  background: linear-gradient(90deg, #f8f8f8 0%, #f0f0f0 100%);
}
.offer .modal-item.city-item.selected {
  background: linear-gradient(90deg, #6B2D5C 0%, #5A264F 100%);
  color: #FFFFFF;
  border: 1px solid #D0D0D0;
}
.offer .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 30px;
  border-top: 1px solid #E5E5E5;
  background-color: #fff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.offer .modal-btn {
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: capitalize;
  height: 40px;
  border: 1px solid #D0D0D0;
  color: #222;
}
body[lang="zh"] .offer .modal-btn {
  font-family: 'Noto Serif SC', serif;
}
.offer .modal-btn:hover, .offer .modal-btn:focus {
  background-color: #F0F0F0;
  outline: none;
}
.offer .modal-btn.clear {
  background-color: #f0f0f0;
  color: #666;
  border: 1px solid #D0D0D0;
}
.offer .modal-btn.clear:hover {
  background-color: #e0e0e0;
}

/* Listings container for desktop */
.listings-container {
  max-width: 1440px;
  margin: 0 auto;
  margin-top: 40px;
}

/* Listings list for desktop */
.listings-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

/* Listing card for desktop */
.listing-card {
  display: flex;
  flex-direction: row;
  position: relative;
  max-width: 100%;
  border: 2px solid transparent;
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  gap: 20px;
  min-height: 316px;
  height: auto;
  background-color: #FFFFFF;
  padding: 0;
}
.listing-card:hover {
  border-color: #E5E5E5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.listing-card:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #E5E5E5;
}

/* Image wrapper for desktop */
.listing-image-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 474px;
  flex-shrink: 0;
  gap: 10px;
  margin-left: 0;
  padding-left: 0;
}

/* Image container for desktop */
.listing-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}
.listing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image navigation buttons for desktop */
.image-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.listing-image-container:hover .image-nav-button {
  opacity: 1;
}
.image-nav-left {
  left: 10px;
}
.image-nav-right {
  right: 10px;
}
.image-nav-button span {
  font-size: 20px;
}

/* Image dots for desktop */
.image-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.image-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.image-dot.active {
  background-color: #FFFFFF;
}
.image-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Thumbnails for desktop */
.listing-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 80px;
  max-height: 316px;
  overflow-y: auto;
}
.thumbnail-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: opacity 0.3s ease, border 0.3s ease;
}
.thumbnail-image:hover {
  opacity: 0.8;
}
.thumbnail-image.active {
  opacity: 0.6;
  border: 2px solid #6B2D5C;
}

/* Listing details for desktop */
.listing-details {
  padding: 10px 0;
  flex-grow: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 20px;
  height: 100%;
}
.listing-details-header {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
}
.listing-details-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
  justify-content: center;
}
.listing-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body[lang="zh"] .listing-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
}
.price {
  font-size: 18px;
  font-weight: 600;
  color: #6B2D5C;
  margin: 0 0 6px;
  line-height: 1.4;
}
body[lang="zh"] .price {
  font-family: 'Noto Serif SC', serif;
}
.location {
  font-size: 14px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.4;
}
body[lang="zh"] .location {
  font-family: 'Noto Serif SC', serif;
}
.description {
  font-size: 13px;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.5;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}
body[lang="zh"] .description {
  font-family: 'Noto Serif SC', serif;
}

/* Realtor contacts for desktop */
.realtor-contacts {
  margin-top: 0;
}
.realtor-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin: 0 0 4px;
  text-align: center;
}
body[lang="zh"] .realtor-title {
  font-family: 'Noto Serif SC', serif;
}
.realtor-name {
  font-size: 13px;
  font-weight: 400;
  color: #333;
  margin: 0 0 4px;
  text-align: center;
}
body[lang="zh"] .realtor-name {
  font-family: 'Noto Serif SC', serif;
}
.realtor-email {
  font-size: 12px;
  color: #6B2D5C;
  margin: 0;
  text-align: center;
}
body[lang="zh"] .realtor-email {
  font-family: 'Noto Serif SC', serif;
}
.realtor-phone {
  font-size: 12px;
  color: #6B2D5C;
  margin: 0;
  text-align: center;
}
body[lang="zh"] .realtor-phone {
  font-family: 'Noto Serif SC', serif;
}

/* Listing specs for desktop */
.listing-specs {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 20px;
  width: fit-content;
  margin-bottom: 10px;
}
.listing-specs span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.spec-property-type, .spec-deal-type {
  grid-column: 1 / 3;
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: #6B2D5C;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 6px;
}
body[lang="zh"] .spec-property-type, body[lang="zh"] .spec-deal-type {
  font-family: 'Noto Serif SC', serif;
}
.spec-value {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
}
body[lang="zh"] .spec-value {
  font-family: 'Noto Serif SC', serif;
}
.spec-label {
  font-size: 10px;
  color: #666;
  text-transform: lowercase;
}
body[lang="zh"] .spec-label {
  font-family: 'Noto Serif SC', serif;
}

/* About page for desktop */
.about-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}
.about-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}
body[lang="zh"] .about-page h1 {
  font-family: 'Noto Serif SC', serif;
}
.about-section {
  margin-bottom: 40px;
}
.about-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}
body[lang="zh"] .about-section h2 {
  font-family: 'Noto Serif SC', serif;
}
.about-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 20px 0 10px;
}
body[lang="zh"] .about-section h3 {
  font-family: 'Noto Serif SC', serif;
}
.about-section p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}
body[lang="zh"] .about-section p {
  font-family: 'Noto Serif SC', serif;
}
.about-section ul {
  list-style-type: disc;
  padding-left: 20px;
}
.about-section li {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
}
body[lang="zh"] .about-section li {
  font-family: 'Noto Serif SC', serif;
}

/* Footer styles for desktop */
.footer {
  background-color: #6B2D5C;
  color: #FFFFFF;
  padding: 0;
  width: 100%;
  margin-top: 40px;
}
.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.footer h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
body[lang="zh"] .footer h3 {
  font-family: 'Noto Serif SC', serif;
}
.footer p {
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}
body[lang="zh"] .footer p {
  font-family: 'Noto Serif SC', serif;
}
.footer-about-link, .footer-disclaimer-link {
  color: #FFFFFF;
  text-decoration: underline;
  font-size: 12px;
}
body[lang="zh"] .footer-about-link, body[lang="zh"] .footer-disclaimer-link {
  font-family: 'Noto Serif SC', serif;
}
.footer-about-link:hover, .footer-disclaimer-link:hover {
  color: #F0F0F0;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.5;
}
body[lang="zh"] .footer-disclaimer {
  font-family: 'Noto Serif SC', serif;
}

/* Scroll to top button for desktop */
.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background: #6B2D5C;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}
.scroll-to-top-btn.visible {
  display: block;
}
.scroll-to-top-btn:hover {
  background: #5A264F;
}