/* ДОМАШНЯЯ СТРАНИЦА НАЧАЛО */    

@font-face {
    font-family: 'COUTURE';
    src: url('fonts/COUTURE-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
  margin: 0;
  background-image: url("images/bg.jpg");
}

:root {
  --osnova-color-primary: #cf549e;
  --osnova-color-secondary: #b9227d;
}

.osnova {
  font-size: 1rem;
  line-height: 1.75rem;
}

.osnova-h1 {
  color: var(--osnova-color-secondary);
  font-size: 1.5rem;
  line-height: 2.5rem;
}

.osnova-h2 {
  color: #601843;
  font-size: 1.2rem;
  line-height: 1.75rem;
}

.osnova-button {
  background-color: var(--osnova-color-primary);
  color: white;
  border-radius: 0.3rem;
}

.osnova-link {
  color: var(--osnova-color-primary);
  text-decoration: underline;
}

body {
  font-family: 'Century Gothic', sans-serif;
  background-color: none;
  text-align: center;
  padding: 0;
}

.head {
  padding: 50px 50px 35px;
}

.logo {
  height: 50px;
  display: block;
  margin: 0 auto;
}

.card {
  max-width: 700px;
  padding: 40px 45px;
  background-color: white;
  border-radius: 15px;
  margin: 0 auto;
}

.title {
  margin: 0;
  text-align: center;
}

.subtitle {
  text-align: center;
  margin: 0;
  padding: 25px 0;
}

.paragraph {
  line-height: 1.5;
  margin-bottom: 40px;
}

.link {
  color: #af4e8a;
  text-decoration: none;
  font-size: 13px;
}

.footer {
  margin-top: 30px;
  text-align: center;
}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
  padding: 0px;
  box-sizing: border-box;
  margin-top: 0;
  height: auto;
  }

h1 {
  font-size: clamp(3rem, 15vw, 10rem);
  font-family: "COUTURE", sans-serif;
  margin-bottom: 10px;
  color: #7ee014;
  text-align: center;
  transition: text-shadow 3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 0.5;
}

h1.neon-active {
  text-shadow: 
    0 0 5px #7ee014,
    0 0 10px #7ee014,
    0 0 20px #7ee014,
    0 0 80px #7ee014;
  animation: neon-pulse 2s infinite ease-in-out;
}
h1.neon-fadeout {
  animation: none;
  text-shadow: none;
}

p {
	padding: 30px 40px;
	font-size: 1.5rem;
  margin-top: 0px;
	color: #ffffff;
	text-align: center;
	animation: blink 1s linear(0 0%,0.2 15%, 0.7 33%, 0.1 10%, 1 100%, 0.5 50%);
}


@keyframes blink {
  0%, 100% {opacity: 1;}
  50% {opacity:0;}
}

#blinking-text {
  animation: blink 1s linear(0 0%,0.2 15%, 0.7 33%, 0.1 10%, 1 100%, 0.5 50%);
}

form {
  background-color: #131313;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

label {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

select,
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #444;
  background-color: #131313;
  color: #f5f5f5;
}

.button-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.text-field {
  width: 200px; /* Такая же ширина как у кнопок */
  min-height: 120px; /* Высота для текста */
  padding: 12px 15px;
  margin-top: 10px;
  flex-direction: column;
  background-color: #131313;
  color: #ffffff;
  border-radius: 5px;
  text-align: center;
  font-size: 1rem;
  box-sizing: border-box;
  border: 1px solid #111410;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  word-break: break-word;
  animation: slideUp 1s ease-in-out forwards;
}

.text-field span {
  display: block;
  margin-top: 8px;
  color: #7ee014;
  font-weight: bold;
  font-size: 1rem;
}

button {
	padding: 10px 20px;
	background-color: #131313;
	color: #7ee014;
	border: #84ff00;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
}

button:hover {
  background-color: #7ee014;
}

strong {
  color: #84ff00;
}

#i8ctf {
  width: 100%;
}

#ijjbl {
  flex-basis: 33.33%;
}

#inofp {
  flex-basis: 33.33%;
}

#i9cnb {
  flex-basis: 33.33%;
}

#i18rc {
  color: #d983a6;
  padding: 10px;
}

#iot5f {
  position: relative;
}

#ihgri {
  color: rgb(241, 196, 15);
}

#igb3k {
  color: #d983a6;
  padding: 10px;
}

#ibo28 {
  position: relative;
}

#iiejh {
  color: rgb(241, 196, 15);
}

#igtz5 {
  color: #d983a6;
  padding: 10px;
}

#ih3a2 {
  position: relative;
}

#iuyd8 {
  color: rgb(186, 55, 42);
}

* {
  box-sizing: border-box;
}

.link-wrapper {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.server-item {
  width: 250px;
  padding: 20px;
  background-color: #111410;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-in-out forwards;
}

.server-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.server-item input {
  width: 100%;
  padding: 12px;
  font-size: 1.2rem;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #1a1a1a;
  background-color: #4e5862;
  color: #f5f5f5;
}

.server-item input:last-of-type {
  margin-bottom: 0;
}

.osnova {
  color: inherit;
  font-size: 1rem;
  line-height: 1.75rem;
}

.server-item div {
  font-size: 1.2rem;
  color: white;
}

.server-item .status {
  color: red;
  undefined: undefined;
}

.button {
  display: flex;
  padding: 12px 25px;
  text-decoration: none;
  text-align: center;
  border-width: 0;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #7ee014;
  color: #131313;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-in-out forwards;
  will-change: transform, box-shadow;
  
  /* Новые свойства для выравнивания */
  width: 200px; /* Фиксированная ширина */
  min-height: 80px; /* Минимальная высота */
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: normal; /* Перенос текста */
  word-break: break-word; /* Перенос длинных слов */
}
.button.neon-active {
  animation: neon-pulse 1.5s infinite ease-in-out;
}
.button:hover {
  background-color: #131313;
  color:#7ee014;
  transform: translateY(-4px);
  border: thin solid #84ff00;
  text-shadow: 0 0 5px #84ff00;
  filter: brightness(1.1);
	box-shadow: 
  0 0 5px #84ff00,
  0 0 15px #84ff00,
  0 0 20px #84ff00;
}

@keyframes neon-pulse {
  0% {
	box-shadow: 
	  0 0 5px #84ff00,
	  0 0 15px #84ff00,
	  0 0 20px #84ff00;
  }
  50% {
	box-shadow: 
	  0 0 10px #84ff00,
	  0 0 25px #84ff00,
	  0 0 35px #84ff00;
  }
  100% {
	box-shadow: 
	  0 0 5px #84ff00,
	  0 0 15px #84ff00,
	  0 0 20px #84ff00;
  }
}

.changelog-container {
  width: 80%;
  max-width: 800px;
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: slideUp 1s ease-in-out 0.3s forwards;
}

.changelog-title {
  font-size: 1.5rem;
  color: #7ee014;
  margin-bottom: 15px;
  text-align: left;
  border-bottom: 2px solid #7ee014;
  padding-bottom: 5px;
}

.changelog-content {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 15px;
  font-family: 'Century Gothic', sans-serif;
  white-space: pre-wrap;
  max-height: 300px;
  overflow-y: auto;
  color: #ffffff;
}

.changelog-content::-webkit-scrollbar {
  width: 8px;
}

.changelog-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.changelog-content::-webkit-scrollbar-thumb {
  background: #7ee014;
  border-radius: 4px;
}

@keyframes fadeIn {
  from {
	opacity: 1;
  }

  to {
	opacity: 1;
  }
}

@keyframes slideUp {
  from {
	opacity: 0;
	transform: translateY(20px);
  }

  to {
	opacity: 1;
	transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    justify-content: flex-start;
    padding-top: 20px; 
  }
  
  h1 {
    font-size: 6rem;
}

/* ДОМАШНЯЯ СТРАНИЦА КОНЕЦ */