html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #ffffff 0%, #e5ccfa 50%, #c2a3e8 100%);
  background-size: cover;
  background-attachment: fixed;
}






/* MAIN */
.dogs-section {
  display: flex;
  padding: 160px 240px 60px 240px;
  justify-content: space-between;

}

.dogs-section h1 {
  font-family: "Montserrat";
  font-size: 70px;
  font-weight: 700;
}



.coat-info {
  margin-top: 40px;
  font-size: 16px;
  color: #1C1C1C;
}

.coat-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.coat-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 400;
  color: var(--black);
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}




/* основная карточка */
.dog-card {
  width: 500px;
  height: 700px;
  font-family: "Montserrat";
  background: radial-gradient(circle at 20% 20%, rgba(116, 101, 228, 0.3), rgba(28, 28, 28, 0.9));
  background-blend-mode: screen;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 20px auto;
  backdrop-filter: blur(10px);
  align-content: flex-end;
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 20px rgba(116, 101, 228, 0.2),
    0 0 40px rgba(187, 177, 230, 0.3),
    inset 0 0 30px rgba(116, 101, 228, 0.2);
  position: relative;
  z-index: 1;

}


.dog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 3px;
  background: linear-gradient(135deg, #7465E4, #D8C8EC, #7465E4);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
  pointer-events: none;
}


.dog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: radial-gradient(ellipse at center,
      rgba(187, 177, 230, 0.5) 0%,
      rgba(116, 101, 228, 0.35) 35%,
      transparent 80%);
  z-index: 0;
  pointer-events: none;
  animation: cardGlow 6s ease-in-out infinite;
}

@keyframes cardGlow {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

.dog-card.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dog-card.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease;
}





.dog-header {
  color: var(--white);
  padding: 20px 16px;
  font-size: 32px;
  font-weight: 100;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(116, 101, 228, 0.8);
  z-index: 2;
}

.dog-image-wrapper {
  padding: 0 10px;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.dog-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  filter: brightness(0.98) contrast(1.05);
  -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
  mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}





.dog-description {
  padding: 40px 56px;
  font-size: 15px;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.735);
}

.card-action-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.card-action-icon:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

.card-action-icon svg {
  width: 20px;
  height: 20px;
}









/* Стрелки */
.card-arrows {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.card-arrows .arrow {
  background: rgba(10, 10, 10, 0.6);
  /* тёмный фон */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(150, 100, 255, 0.4);
  /* заменил на мягкий фиолет */
  backdrop-filter: blur(8px);
}

.card-arrows .arrow:hover {
  background: rgba(150, 100, 255, 0.2);
  /* нежно-фиолетовый фон */
  transform: scale(1.1);
  box-shadow:
    0 0 25px rgba(150, 100, 255, 0.5),
    /* внешнее свечение */
    inset 0 0 12px rgba(255, 255, 255, 0.1),
    /* внутреннее */
    0 4px 25px rgba(150, 100, 255, 0.3);
  /* мягкая тень */
}


.card-arrows svg {
  width: 22px;
  height: 22px;
  stroke: white;
}





@media (max-width: 900px) {


  .dogs-section {
    padding: 100px 20px 0px 20px;
    flex-direction: column;
  }

  .dogs-section h1 {
    margin: 0;
    font-size: 60px;
    text-align: center;
  }

  p {
    text-align: center;
  }

  .coat-list {
    margin-left: 23px;
  }

  .dog-card {
    width: 100%;
    height: 600px
  }

  .dog-header {
    font-size: 26px;
  }

}