@font-face {
  font-family: "Minecraft";
  src: url("../fonts/minecraft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Minecraft", monospace;
  background: linear-gradient(135deg, #5a7c3e 0%, #3d5a2a 50%, #2d4a1f 100%);
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 32px,
      rgba(0, 0, 0, 0.1) 32px,
      rgba(0, 0, 0, 0.1) 64px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 32px,
      rgba(0, 0, 0, 0.1) 32px,
      rgba(0, 0, 0, 0.1) 64px
    );
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/Dirt_background_BE2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* opacity: 0.3; */
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
}

.server-info {
  background: rgba(125, 125, 115, 0.95);
  border: 8px solid #4a4a44;
  border-image: linear-gradient(135deg, #7d7d73 0%, #63635a 50%, #4a4a44 100%) 8;
  box-shadow: 0 0 0 4px #2a2a26, 0 0 20px rgba(0, 0, 0, 0.8),
    inset 0 0 20px rgba(125, 125, 115, 0.4);
  padding: 40px;
  text-align: center;
  position: relative;
  image-rendering: pixelated;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/Minecraft-Stone-Block.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.server-info::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #9d9d8d;
  z-index: -1;
}

.title {
  font-size: 48px;
  color: #ffffff;
  text-shadow: 3px 3px 0 #000000, 0 0 10px rgba(224, 224, 208, 0.5);
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  image-rendering: pixelated;
}

.info-block {
  background: rgba(42, 42, 38, 0.8);
  border: 4px solid #4a4a44;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.info-item {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 2px solid #4a4a44;
  margin-bottom: 15px;
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.label {
  font-size: 24px;
  color: #b8b8a8;
  text-shadow: 2px 2px 0 #2a2a26;
  text-align: left;
}

.value {
  font-size: 28px;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000000, 0 0 8px rgba(240, 240, 224, 0.6);
  font-weight: bold;
  text-align: right;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.info-item:first-child .value {
  cursor: pointer;
  user-select: none;
}

.info-item:first-child .value:hover {
  color: #ffffff;
  text-shadow: 2px 2px 0 #000000, 0 0 12px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.footer {
  margin-top: 30px;
}

.footer p {
  font-size: 20px;
  color: #b8b8a8;
  text-shadow: 2px 2px 0 #2a2a26;
  opacity: 0.9;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #4a4a44;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(42, 42, 38, 0.8);
  border: 3px solid #4a4a44;
  text-decoration: none;
  color: #b8b8a8;
  font-size: 18px;
  text-shadow: 2px 2px 0 #2a2a26;
  transition: all 0.3s ease;
  position: relative;
  image-rendering: pixelated;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
  background: rgba(74, 74, 68, 0.9);
  border-color: #7d7d73;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000000, 0 0 8px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.4);
}

.social-link:active {
  transform: translateY(0);
}

.social-icon {
  font-size: 24px;
  line-height: 1;
}

.social-text {
  font-weight: bold;
  letter-spacing: 1px;
}

/* Анимация для привлечения внимания */
@keyframes glow {
  0%,
  100% {
    text-shadow: 2px 2px 0 #2a2a26, 0 0 8px rgba(240, 240, 224, 0.6);
  }
  50% {
    text-shadow: 2px 2px 0 #2a2a26, 0 0 15px rgba(240, 240, 224, 0.9),
      0 0 25px rgba(240, 240, 224, 0.6);
  }
}

.value {
  animation: glow 2s ease-in-out infinite;
}
