.selected-server {
  margin-top: 24px;
  margin-bottom: 31px;
  position: relative;
  z-index: 2;
}

.selected-server__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 36px;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.selected-server__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(179, 179, 179, 1);
  line-height: 24px;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.selected-server__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 197px;
  gap: 15px;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-accent);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  z-index: 10;
  display: none;
}

.server-card {
  padding: 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-decoration: none;
  transition: all 300ms;
  border: 2px solid transparent;
  position: relative;
}

.server-card:hover {
  opacity: 0.8;
}

.server-card.selected {
  border-color: rgba(226, 5, 17, 1);
  animation: pulse 2s infinite;
  box-shadow: 0 0 15px rgba(226, 5, 17, 0.4), 0 0 30px rgba(226, 5, 17, 0.2);
}

.server-card.selected .badge {
  display: block;
}

.server-banner {
  width: 100%;
  background: url(https://static.rustyfiles.xyz/us-server-banner.png) no-repeat;
  border-radius: var(--radius);
  background-size: cover;
  object-fit: cover;
  display: block;
  padding: 20px;
  margin-bottom: 10px;
  position: relative;
}

.server-card.blue.selected .badge {
  background: rgba(51, 122, 215, 1);
}

.server-card.blue .server-banner {
  background: url(https://static.rustyfiles.xyz/eu-server-banner.png) no-repeat;
  background-size: cover;
}

.server-card.blue .server-banner h3 {
  text-align: right;
  position: relative;
  z-index: 2;
}

.server-card.blue .server-tags {
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.server-card.blue.selected {
  border-color: rgba(51, 122, 215, 1);
  box-shadow: 0 0 15px rgba(51, 122, 215, 0.4), 0 0 30px rgba(51, 122, 215, 0.2);
}

.server-card.blue h3 span {
  color: rgba(51, 122, 215, 1);
}

.server-card.blue .tag {
  background: rgba(51, 122, 215, 1);
}

.server-card.blue .server-progress {
  background: linear-gradient(90deg, rgba(51, 122, 215, 0.4) 0%, rgba(51, 122, 215, 0) 100%), #181818;
}

.server-card.blue .server-progress__show {
  background: rgba(51, 122, 215, 1);
}

.server-card.blue .server-online {
  background: linear-gradient(90deg, rgba(51, 122, 215, 0.4) 0%, rgba(51, 122, 215, 0) 100%), #181818;
}

.server-card.blue .server-banner:before {
  content: '';
  width: 326px;
  height: 68px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  background: #000000;
  filter: blur(35px);
}

.server-info {
  padding: 24px 32px;
  text-align: center;
}

.server-banner h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  color: var(--color-white);
  margin: 0;
  margin-bottom: 10px;
}

.server-banner h3 span {
  color: rgba(226, 5, 17, 1);
}

.server-tags {
  display: flex;
  gap: 10px;
}

.tag {
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 1px 8px 2px 7px;
  font-size: 15px;
  line-height: 16px;
  font-weight: 400;
}

.server-progress {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-sm);
  position: relative;
  background: linear-gradient(90deg, rgba(215, 51, 60, 0.4) 0%, rgba(215, 51, 60, 0) 100%), #181818;
}

.server-progress__show {
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
}

.server-online {
  background: linear-gradient(90deg, rgba(215, 51, 60, 0.4) 0%, rgba(215, 51, 60, 0) 100%), #181818;
  color: var(--color-white);
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}


/* ============================
SELECTED SERVER RESPONSIVE
============================ */

@media (max-width: 991px) {
  .selected-server {
    margin-top: 20px;
    margin-bottom: 44px;
  }

  .selected-server__title {
    font-size: 20px;
    line-height: 30px;
  }

  .selected-server__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .back-btn {
    width: 100%;
    max-width: 200px;
    height: 50px;
  }

  .server-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 770px) {
  .selected-server__wrapper {
    height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .server-card {
    width: 100%;
    max-width: none;
  }

  .server-info {
    padding: 22px 20px;
  }

  .server-banner {
    padding: 18px;
    margin-bottom: 12px;
  }

  .server-banner h3 {
    font-size: 22px;
    line-height: 30px;
  }
}

@media (max-width: 770px) {
  .selected-server__wrapper {
    padding: 10px;
  }

  .server-info {
    padding: 15px 10px;
  }

  .server-banner {
    padding: 15px;
  }

  .server-banner h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .server-tags {
    flex-wrap: wrap;
    gap: 5px;
  }

  .tag {
    font-size: 12px;
    padding: 2px 6px;
  }

  .server-progress {
    height: 30px;
  }

  .server-online {
    font-size: 14px;
    line-height: 14px;
    padding: 3px 8px;
  }
}