.card {
  --card-bg: #ffffff;
  --card-accent: #926ed4;
  --card-text: #000;
  --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);

  margin-left: auto;
  margin-right: auto;
  width: 190px;
  height: 254px;
  background: var(--card-bg);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(146, 110, 212, 0.2);
  font-family: dehosting_regular;
}

.card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card__glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(124, 58, 237, 0.3) 0%,
    rgba(124, 58, 237, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card__content {
  padding: 1.25em;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  position: relative;
  z-index: 2;
}

.card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #2d273a;
  color: white;
  padding: 0.25em 0.5em;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 600;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
  z-index: 3;
}

.card__image {
  width: 100%;
  height: 100px;
  background: linear-gradient(45deg, #a78bfa, #8b5cf6);
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 30%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(139, 92, 246, 0.1) 0px,
      rgba(139, 92, 246, 0.1) 2px,
      transparent 2px,
      transparent 4px
    );
  opacity: 0.5;
}

.card__text {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.card__title {
  color: var(--card-text);
  font-size: 1.1em;
  margin: 0;
  font-weight: 700;
  transition: all 0.3s ease;
}

.card__description {
  color: var(--card-text);
  font-size: 0.75em;
  margin: 0;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.card__price {
  color: var(--card-text);
  font-weight: 700;
  font-size: 12px;
  transition: all 0.3s ease;
}

.card__button {
  width: 28px;
  height: 28px;
  background: var(--card-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.9);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(124, 58, 237, 0.2);
}

.card:hover .card__shine {
  opacity: 1;
  animation: shine 3s infinite;
}

.card:hover .card__glow {
  opacity: 1;
}

.card:hover .card__badge {
  transform: scale(1);
  opacity: 1;
  z-index: 1;
}

.card:hover .card__image {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card:hover .card__title {
  color: var(--card-accent);
  transform: translateX(2px);
}

.card:hover .card__description {
  opacity: 1;
  transform: translateX(2px);
}

.card:hover .card__price {
  color: var(--card-accent);
  transform: translateX(2px);
}

.card:hover .card__button {
  transform: scale(1);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.card:hover .card__button svg {
  animation: pulse 1.5s infinite;
}

.card:active {
  transform: translateY(-5px) scale(0.98);
}

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

  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.card__visual-linux {
  position: relative;
  width: 100%;
  height: 100px;
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #9570d6;
}

.card__visual-linux::after {
  display: none;
}

.hosting-core-glow {
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 159, 252, 0.28) 0%,
      rgba(82, 39, 255, 0.2) 38%,
      rgba(82, 39, 255, 0) 73%
    );
  filter: blur(10px);
  z-index: 0;
}

.hosting-ring {
  position: absolute;
  border: 1px solid rgba(255, 159, 252, 0.18);
  border-radius: 50%;
  z-index: 0;
}

.hosting-ring--1 {
  width: 190px;
  height: 64px;
  transform: rotate(-17deg);
}

.hosting-ring--2 {
  width: 148px;
  height: 48px;
  border-color: rgba(82, 39, 255, 0.25);
  transform: rotate(27deg);
}

.hosting-globe {
  position: absolute;
  width: 52px;
  height: 52px;
  left: 10%;
  top: 18%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.24),
      rgba(255, 159, 252, 0.12) 38%,
      rgba(82, 39, 255, 0.34) 100%
    );
  border: 1px solid rgba(255, 159, 252, 0.42);
  box-shadow:
    0 0 22px rgba(255, 159, 252, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hosting-globe span {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.92);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hosting-globe__horizontal,
.hosting-globe__vertical {
  position: absolute;
  border: 1px solid rgba(255, 159, 252, 0.26);
  border-radius: 50%;
}

.hosting-globe__horizontal {
  width: 40px;
  height: 17px;
}

.hosting-globe__vertical {
  width: 17px;
  height: 40px;
}

.hosting-server {
  position: absolute;
  width: 124px;
  height: 86px;
  left: calc(54% - 12px);
  top: 57%;
  transform:
    translate(-50%, -50%)
    perspective(700px)
    rotateX(7deg)
    rotateY(-16deg);
  filter:
    drop-shadow(
      0 18px 24px
      rgba(82, 39, 255, 0.3)
    );
  z-index: 3;
}

.hosting-server__top {
  position: absolute;
  left: 0px;
  top: 0;
  width: 123px;
  height: 13px;
  border-radius: 5px 5px 2px 2px;
  background:
    linear-gradient(
      135deg,
      #b49be5 0%,
      #a083dc 48%,
      #8b6acb 100%
    );
  transform: skewX(-38deg);
  transform-origin: left bottom;
  z-index: 4;
}

.hosting-server__front {
  position: absolute;
  left: 0;
  top: 10px;
  width: 124px;
  height: 76px;
  border-radius: 5px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      #b18fe2 0%,
      #9b78d4 46%,
      #8865c2 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -8px 18px rgba(58, 30, 112, 0.16);
  z-index: 3;
}

.hosting-server__unit {
  position: absolute;
  left: 0;
  width: 124px;
  background:
    linear-gradient(
      145deg,
      rgba(181, 151, 226, 0.96) 0%,
      rgba(157, 123, 211, 0.96) 48%,
      rgba(137, 101, 191, 0.96) 100%
    );
}

.hosting-server__unit--top {
  top: 0;
  height: 36px;
}

.hosting-server__unit--bottom {
  bottom: 0;
  height: 36px;
}

.hosting-server__separator {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 37px;
  height: 2px;
  border-radius: 2px;
  background:
    rgba(71, 40, 125, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14);
  z-index: 5;
}

.hosting-server__handle {
  position: absolute;
  left: 8px;
  top: 13px;
  width: 4px;
  height: 10px;
  border-radius: 2px;
  background:
    rgba(255, 255, 255, 0.42);
}

.hosting-server__linux {
  position: absolute;
  left: 5px;
  top: 6px;
  width: 88px;
  height: 22px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background:
    rgba(78, 48, 132, 0.38);
  border: 1px solid
    rgba(255, 197, 251, 0.62);
  color: #ffd2fa;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.6px;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow:
    0 0 12px
    rgba(255, 159, 252, 0.18);
  text-shadow:
    0 0 8px
    rgba(255, 159, 252, 0.34);
}

.hosting-server__leds {
  position: absolute;
  top: 14px;
  right: 7px;
  display: flex;
  gap: 4px;
}

.hosting-server__leds i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff9ffc;
  box-shadow:
    0 0 7px
    rgba(255, 159, 252, 0.95);
}

.hosting-server__leds i:last-child {
  background: #57ff8a;
  box-shadow:
    0 0 7px rgba(87, 255, 138, 0.95),
    0 0 14px rgba(87, 255, 138, 0.55);
  animation:
    hosting-led-blink
    1.4s
    ease-in-out
    infinite;
}

.hosting-server__unit--bottom .hosting-server__leds i:last-child {
  background: #57ff8a;
  box-shadow:
    0 0 7px rgba(87, 255, 138, 0.95),
    0 0 14px rgba(87, 255, 138, 0.55);
  animation:
    hosting-led-blink
    1.4s
    ease-in-out
    infinite;
}

@keyframes hosting-led-blink {
  0%,
  100% {
    opacity: 1;
    box-shadow:
      0 0 7px rgba(87, 255, 138, 0.95),
      0 0 14px rgba(87, 255, 138, 0.55);
  }

  50% {
    opacity: 0.28;
    box-shadow:
      0 0 2px rgba(87, 255, 138, 0.35);
  }
}

.hosting-server__bay {
  position: absolute;
  left: 18px;
  top: 10px;
  display: flex;
  gap: 4px;
}

.hosting-server__bay b {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.26),
      rgba(91, 57, 145, 0.24)
    );
  border: 1px solid
    rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 2px
    rgba(48, 25, 92, 0.16);
}

.hosting-server__side {
  position: absolute;
  right: -16px;
  top: 10px;
  width: 17px;
  height: 76px;
  border-radius: 0 5px 5px 0;
  background:
    linear-gradient(
      180deg,
      #9d7bd2 0%,
      #8967bf 52%,
      #7553a9 100%
    );
  transform: skewY(-25deg);
  transform-origin: left top;
  z-index: 1;
  box-shadow:
    inset -1px 0 0
    rgba(255, 255, 255, 0.12);
}

.hosting-connection {
  position: absolute;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 159, 252, 0),
      rgba(255, 159, 252, 0.6),
      rgba(255, 159, 252, 0)
    );
  transform-origin: left center;
  z-index: 1;
}

.hosting-connection--1 {
  width: 60px;
  left: 30%;
  top: 44%;
  transform: rotate(18deg);
}

.hosting-connection--2 {
  width: 46px;
  left: 69%;
  top: 33%;
  transform: rotate(151deg);
}

@media (max-width: 767px) {
  .card {
    width: 170px;
    height: 250px;
  }
}