.mc-border:hover {
  transform: translateY(-5px); /* Lift the card slightly */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Add a soft shadow */
  border-image: linear-gradient(45deg, #6effca, #f573ff) 1; /* Hover gradient effect */
}

.mc-border {
  width: 100%;
  margin: 0 auto;
  background: white;
  padding: 25px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.mc-inner:hover {
  border-color: #000;
}

.wrap {
  height: 100%;
  position: relative;
}

.mc-inner {
  width: 100%;
  margin: 0 auto;
  background: white;
  text-align: center;
  border-bottom: 2px solid #ccc;
  transition: .2s linear;
}

.model-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  width: 100%;
  height: 450px; /* Increased height for bigger cards */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa; /* Light background for image container */
  cursor: pointer; /* Add pointer cursor to indicate clickable */
}

.mc-border:hover .model-wrap:after {
  opacity: 0.3; /* Reduced opacity so it doesn't block clicks */
  transform: scale(1);
}

.model-wrap:after {
  content: '';
  background: rgba(0,0,0,0.48);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0;
  transform: scale(.3);
  transition: .3s ease-in-out;
  pointer-events: none; /* This prevents the overlay from blocking clicks */
}

.model-wrap img {
  width: 100%;
  height: 450px; /* Increased height matching container */
  object-fit: cover; /* This will ensure the image fills the space */
  object-position: center top; /* Focus on the top part of the image */
  image-rendering: -webkit-optimize-contrast; /* Better image quality on webkit browsers */
  image-rendering: crisp-edges; /* Better image quality */
  display: block; /* Ensures proper link behavior */
}

.model-wrap a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.mc-border:hover .view-pro-btn {
  opacity: 1;
}

.view-pro-btn {
  position: relative;
  margin-top: 10px;
  opacity: 1;
}

.view-pro-btn a:hover {
  background-color: rgb(218, 216, 216);
  color: black;
}

.view-pro-btn a {
  color: white;
  background-color: #000;
  text-decoration: none;
  display: block;
  border: 1px solid white;
  white-space: nowrap;
  text-transform: uppercase;
  padding: 0.5em 1em;
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 160px;
  margin: 5px auto;
  transition: 0.3s ease-in-out;
}

.view-pro-btn a:hover:after {
  left: 0%;
}

.view-pro-btn a:after {
  content: "";
  position: absolute;
  left: -220%;
  top: -500%;
  width: 140%;
  height: 1000%;
  transform: rotate(45deg);
  background: white;
  z-index: -1;
  transition: 0.3s ease-in-out;
}

.view-pro-btn svg {
  width: 20px; /* Adjust width as needed */
  height: 20px; /* Adjust height as needed */
  vertical-align: middle; /* Align SVG icon with text */
  fill: currentColor; /* Ensure SVG color matches text color */
  margin-right: 8px; /* Space between icon and text */
}

.model-info {
  padding-bottom: 0px;
  font-family: 'Noto Sans', sans-serif;
  padding-top: 0px;
  text-align: center;
}

.vote-counter {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.vote-label {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.vote-number {
  display: flex;
  align-items: center;
  gap: 4px;  /* reduced gap between heart and number */
}

.vote-number i {
  color: #ff4b4b;
  font-size: 16px;  /* reduced from 20px */
}

.vote-count {
  font-size: 16px;  /* reduced from 24px */
  font-weight: 600;
  color: #333;
}

@keyframes voteBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.vote-bump {
  animation: voteBump 0.5s ease;
}

.model-title {
  font-weight: bold;
  font-family: "Open Sans";
  font-size: 18px;
  padding-top: 0px;
  text-transform: uppercase;
}

.mc-border:hover .view-pro-btn {
  opacity: 1;
}

.model-title a {
  color: #000;
  font-weight: bold;
}

.mc-inner:hover .model-title a {
  color: #000000;
  text-decoration: none;
}

.mc-border:hover .model-title a {
  color: #000;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .model-wrap {
    height: 500px; /* Increased height for mobile */
  }
  
  .model-wrap img {
    height: 100%;
    object-fit: cover; /* Cover the full area without padding */
    padding: 0; /* Remove padding to maximize image size */
  }

  .mc-border {
    padding: 5px; /* Minimal padding on mobile */
    margin-bottom: 15px; /* Reduce bottom margin */
  }

  .vote-counter {
    margin: 8px 0; /* Reduce spacing */
  }

  .model-title {
    font-size: 18px; /* Keep title size readable */
    margin-bottom: 5px; /* Reduce margin */
  }

  .model-info {
    padding: 8px 5px; /* Reduce padding around text */
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .model-wrap {
    height: 450px; /* Increased height for small devices */
  }
  
  .mc-border {
    padding: 3px; /* Even less padding for very small screens */
  }
  
  .model-info {
    padding: 5px 3px; /* Minimal padding for text area */
  }
}