@font-face {
    font-family: 'optispire';
    src: url('fonts/OPTISPIRE.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}
body {
    margin: 0px;
    padding: 0px;
    background-color: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'optispire', 'Times New Roman';
    overflow: hidden;
    max-width: 100vw;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

.anxygifka {
    width: 500px;
    height: 500px;
    object-fit: cover;
    display: block;
    user-select: none;
}

.text-container {
    display: inline-flex;
    justify-content: center; 
    bottom: 120px; /* Центрируем оригинальный текст */
    align-items: center;
    gap: 0px;                  /* Изначально без промежутков */
    position: relative;
    width: 100%;
}

.socials {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 100px;
    z-index: 1000;
    user-select: none;
}

/* Стили для всех текстовых элементов (оригинал и копии) */
.main-text, .copy {
    color: white;
    font-size: 2rem;
    font-weight: normal;
    position: absolute;
    white-space: nowrap;
    user-select: none;
    transition: all 0.5s cubic-bezier(0.1, 0.3, 0.0, 1);  /* Плавность */
}

/* Специально для копий - делаем их прозрачными и сдвинутыми */
.copy {
    opacity: 0;                 /* Невидимы */
    z-index: 1;
}

.main-text {
    position: relative;
    z-index: 10;
    cursor: crosshair;
}

.main-text:hover ~ .copy:nth-child(2) {
    opacity: 1;
    transform: translateX(-800px);
}
.main-text:hover ~ .copy:nth-child(3) {
    opacity: 1;
    transform: translateX(-600px);
}
.main-text:hover ~ .copy:nth-child(4) {
    opacity: 1;
    transform: translateX(-400px);
}.main-text:hover ~ .copy:nth-child(5) {
    opacity: 1;
    transform: translateX(-200px);
}

.main-text:hover ~ .copy:nth-child(6) {
    opacity: 1;
    transform: translateX(200px);
}.main-text:hover ~ .copy:nth-child(7) {
    opacity: 1;
    transform: translateX(400px);
}.main-text:hover ~ .copy:nth-child(8) {
    opacity: 1;
    transform: translateX(600px);
}.main-text:hover ~ .copy:nth-child(9) {
    opacity: 1;
    transform: translateX(800px);
}

.twitch, .telegram, .twitchrav {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.1, 0.3, 0.0, 1);
}

.twitch:hover {
    transform: scale(1.1)
}
.telegram:hover {
    transform: scale(1.1)
}
.twitchrav:hover {
    transform: scale(1.1)
}
.death {
    position: absolute;
    color: black;
    pointer-events: none;
    user-select: none;
    font-size: 20px;
    transform: translateX(-50%, -50%);
    animation: float 0.2s ease-out forwards;
    z-index: 9999;
}

@keyframes float {
    0% {
        opacity: 1;
        transform: translate(-30%, -50%) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(40%, -100%) scale(2);
    }
}
