@font-face {
  font-family: 'Gilroy';
  src: url('Gilroy-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  font-family: 'Gilroy', sans-serif;
  background-color: #000;
  overflow: hidden;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
}

.character {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.message-box {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 30px ;
  border-radius: 15px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  color: #fff;
  max-width: 600px;
  width: 90%;
  transition: all 0.3s ease;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
  to {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
  }
}

.main-text {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-text {
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: #fff;
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 600px) {
  .main-text {
    font-size: 1.3rem;
  }

  .contact-text {
    font-size: 0.95rem;
  }

  .character {
    max-width: 220px;
    margin-top: 30px;
  }

  .message-box {
    padding: 20px;
  }
}
