.feature-card-wrapper:hover .feature-card {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(210, 95, 120, 0.15);
  border: 1px solid rgba(169, 76, 96, 0.5);
}

.feature-card-wrapper:hover .feature-card-img {
  transform: translateX(-50%) scale(1.08) translateY(-8px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
}

.feature-card-img:hover + .glow-border {
  opacity: 1;
  animation: borderGlow 3s linear infinite;
  transform: translateY(-10px);
}

.feature-card-img:hover ~ .feature-card {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(210, 95, 120, 0.15);
  border: 1px solid rgba(169, 76, 96, 0.5);
  transform: translateY(-10px);
}

.feature-card-img:hover ~ .feature-card .feature-card-shine {
  opacity: 1;
  animation: shine 1.5s infinite ease-in-out;
}

.feature-card-img:hover {
  transform: translateX(-50%) scale(1.08) translateY(-8px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
  z-index: 10;
  cursor: pointer;
}

@keyframes borderGlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 300% 0%;
  }
}.row-side {
  width: 50%;
  display: flex;
  justify-content: center;
}

.left-side {
  display: flex;
  justify-content: flex-end;
  padding-right: 10%;
}

.right-side {
  display: flex;
  justify-content: flex-start;
  padding-left: 10%;
}.features-showcase-section {
  position: relative;
  padding: 150px 0 200px;
  background: linear-gradient(to bottom, rgba(26, 15, 12, 0.98) 0%, rgba(18, 10, 8, 0.98) 100%);
  overflow: visible;
}

.decoration-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 119, 67, 0.15) 0%, rgba(169, 76, 96, 0.15) 50%, transparent 80%);
  z-index: 0;
  pointer-events: none;
  filter: blur(50px);
}

.row-side {
  width: 50%;
  display: flex;
  justify-content: center;
}

.left-side {
  display: flex;
  justify-content: flex-end;
  padding-right: 10%;
}

.right-side {
  display: flex;
  justify-content: flex-start;
  padding-left: 10%;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: 5%;
  left: -200px;
  opacity: 0.5;
}

.glow-2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: -150px;
  opacity: 0.4;
}

.glow-3 {
  width: 350px;
  height: 350px;
  bottom: 10%;
  left: 10%;
  opacity: 0.3;
}

.ambient-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-beige);
  opacity: 0.1;
  pointer-events: none;
  animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(20px, 20px);
  }
  50% {
    transform: translate(0, 40px);
  }
  75% {
    transform: translate(-20px, 20px);
  }
}

.features-heading {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.features-title {
  font-size: 3rem;
  color: var(--color-beige-light);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.features-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-marron), var(--color-rose), var(--color-marron));
  border-radius: 3px;
}

.features-showcase {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.feature-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  max-width: 1800px;
}


.feature-element {
  max-width: 600px;
  text-align: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 0 15px;
}

.feature-element img {
  max-width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}

.feature-element:hover img {
  transform: scale(1.05) translateY(-10px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
}

.feature-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  padding: 6px 16px;
  border-radius: 20px;
  background: linear-gradient(45deg, var(--color-marron), var(--color-rose));
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.feature-element:hover .feature-badge {
  opacity: 1;
  transform: translateY(0);
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 2;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: #5865F2;
}

.effect-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: pulse-effect 4s infinite ease-in-out;
}

.circle-1 {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(200, 119, 67, 0.2);
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.circle-2 {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(169, 76, 96, 0.15);
  bottom: 30%;
  right: 10%;
  animation-delay: 1s;
}

.circle-3 {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(244, 218, 193, 0.1);
  top: 60%;
  left: 20%;
  animation-delay: 2s;
}

@keyframes pulse-effect {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.connector-line {
  position: absolute;
  height: 100px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-marron-dark), transparent);
  left: 50%;
  transform: translateX(-50%);
  top: -40px;
  opacity: 0.4;
  z-index: 1;
}

@media (max-width: 1400px) {
  .feature-element {
    max-width: 500px;
  }
}

@media (max-width: 1200px) {
  .feature-row {
    gap: 30px;
  }
  
  .feature-element {
    max-width: 450px;
  }
}

@media (max-width: 992px) {
  .features-title {
    font-size: 2.5rem;
  }
  
  .feature-row {
    justify-content: center;
  }
  
  .feature-element {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .features-showcase-section {
    padding: 100px 0 150px;
  }
  
  .features-title {
    font-size: 2rem;
  }
  
  .feature-element {
    max-width: 450px;
    margin: 0 10px;
  }
  
  .feature-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}

@media (max-width: 576px) {
  .feature-row {
    gap: 40px;
  }
  
  .feature-element {
    max-width: 400px;
    margin: 0 5px;
  }
}

.features-cards-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 100px;
  margin-top: 100px;
  position: relative;
  z-index: 5;
  max-width: 100%;
  padding: 0 50px;
}

.features-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  margin-bottom: 80px;
  position: relative;
}

.feature-card-wrapper {
  position: relative;
  width: 500px;
  padding-top: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card {
  position: relative;
  width: 100%;
  height: 420px;
  background: linear-gradient(145deg, rgba(26, 15, 12, 0.98), rgba(21, 12, 10, 0.98));
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(169, 76, 96, 0.2);
  padding: 40px 30px 20px;
}

.feature-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(210, 95, 120, 0.15);
  border: 1px solid rgba(169, 76, 96, 0.5);
}

.feature-card:before {
  content: "";
  position: absolute;
  top: -20px;
  width: 100%;
  height: 135px;
  background: rgba(169, 76, 96, 0.15);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -1;
}

.feature-card-img {
  width: auto;
  height: 200px;
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s ease;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  z-index: 10;
  object-fit: contain;
}

.feature-card-wrapper:hover .feature-card-img {
  transform: translateX(-50%) scale(1.08) translateY(-8px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
}

.feature-card-content {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card-title {
  color: #F4DAC1;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.feature-card-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(210, 95, 120, 0.8), transparent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.feature-card-text {
  color: #bcaa9c;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.feature-card-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, 0.05) 100%
  );
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-card-shine {
  opacity: 1;
  animation: shine 1.5s infinite ease-in-out;
}

@keyframes shine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

#dungeons-img {
  top: -105px;
}


#worldboss-img {
  top: -110px;
}

@media (max-width: 1600px) {
  .feature-card-wrapper {
    width: 480px;
  }
  
  .feature-card-img {
    height: 180px;
  }
  
  .left-side {
    padding-right: 6%;
  }
  
  .right-side {
    padding-left: 6%;
  }
}

@media (max-width: 1400px) {
  .feature-card-wrapper {
    width: 450px;
  }
  
  .left-side {
    padding-right: 4%;
  }
  
  .right-side {
    padding-left: 4%;
  }
  
  .feature-card-img {
    height: 170px;
  }
}

@media (max-width: 1200px) {
  .features-cards-container {
    padding: 0 30px;
  }
  
  .feature-card-wrapper {
    width: 420px;
  }
  
  .left-side {
    padding-right: 2%;
  }
  
  .right-side {
    padding-left: 2%;
  }
  
  .feature-card-img {
    height: 160px;
  }
}

@media (max-width: 992px) {
  .features-row {
    flex-direction: column;
    align-items: center;
    gap: 120px;
  }
  
  .row-side {
    width: 100%;
    padding: 0;
  }
  
  .left-side, .right-side {
    justify-content: center;
    padding: 0;
  }
  
  .feature-card-wrapper {
    width: 500px;
  }
  
  .feature-card-img {
    height: 180px;
  }
  
  .feature-card-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 880px) {
  .features-cards-container {
    gap: 80px;
  }
  
  .feature-card-wrapper {
    width: 480px;
  }
  
  .features-row {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .features-cards-container {
    padding: 0 20px;
  }
  
  .feature-card-wrapper {
    width: 100%;
    max-width: 400px;
    padding-top: 60px;
  }
  
  .feature-card {
    height: 440px;
  }
  
  .feature-card-title {
    font-size: 1.4rem;
  }
  
  .feature-card-text {
    font-size: 0.9rem;
  }
  
  .feature-card-img {
    height: 150px;
    top: -85px;
  }
  
  #dungeons-img {
    top: -100px;
  }
  
  #worldboss-img {
    top: -105px;
  }
}
