body { 
    margin: 0; 
    height: 100vh;
    overflow: hidden; 
    background-color: #000; 
    font-family: "Lucida Console", monospace;
}

/* Контейнер для интерфейса */
#ui {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /*pointer-events: none; /* Чтобы не мешало кликам по сцене, если нужно */
}

/* Твой ник */
h1 {
    color: #fff;
    font-size: 5rem;
    margin: 0;
    text-shadow: 0 0 20px #41294d;
    opacity: 1;
}

/* Кнопка Telegram */
.glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 36px;
  margin: 10px 6px;

  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;

  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.25);

  overflow: hidden;
  pointer-events: auto;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-btn::before {
  content: '';
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.6),
    transparent 70%
  );

  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.glass-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;

  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,0.4),
    inset -1px -1px 2px rgba(0,0,0,0.3);
}

.glass-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(255,255,255,0.25);
}

.glass-btn:hover::before {
  transform: translateX(120%);
}

.glass-btn span {
  position: relative;
  z-index: 1;
}


p {
    color: #fff;
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.8;
}




* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.5s ease;
}

#meow {
  position: relative;
  transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
}

/* Класс для анимации эмодзи (вылет вверх и исчезновение) */
.meow-emoji {
  position: absolute;
  pointer-events: none;
  animation: fly-up 0.6s ease-out forwards;
  font-size: 2rem;
}

@keyframes fly-up {
  0% {
    transform: translateY(0) scale(0.5) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translateY(-20px) scale(1.2) rotate(10deg);
  }
  100% {
    transform: translateY(-100px) scale(1) rotate(-15deg);
    opacity: 0;
  }
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
@keyframes rotate {
0% { transform: rotate(-1deg); }
33% { transform: rotate(1deg); }
66% { transform: rotate(-1deg); }
100% { transform: rotate(-1deg); }
}



@media (min-width: 769px) {
  .click-hint {
    rotate: -3deg;
    position: absolute;
    top: 40px;
    left: -40px;
    margin-left: 0px;
    opacity: 0;
    transition: all 0.5s ease;
    animation: pulse 3s ease-in-out infinite;
  }
}

@media (max-width: 768px) {
  .click-hint {
    rotate: -3deg;
    position: absolute;
    top: -40px;
    left: -30px;
    margin-left: 0px;
    opacity: 0;
    transition: all 0.5s ease;
    animation: pulse 3s ease-in-out infinite;
  }
}

@media (min-width: 769px) {
  .click-text {
    position: absolute;
    rotate: -3deg;
    top: 20px;
    left: -40px;
    font-size: 0.8rem;
    color: #ffffff;
    animation: rotate 1s ease-in-out infinite;
  } 
}
@media (max-width: 768px) {
  .click-text {
    position: absolute;
    rotate: -3deg;
    top: -25px;
    left: -40px;
    font-size: 0.8rem;
    color: #ffffff;
    animation: rotate 1s ease-in-out infinite;
  } 
}

@media (min-width: 769px) {
  .click-arrow {
    position: absolute;
    scale: 5;
    width: 10px;
    height: 10px;
    margin-left: 0px;
    opacity: 0.5;
  }
}
@media (max-width: 768px) {
  .click-arrow {
    position: absolute;
    scale: 5;
    width: 10px;
    height: 10px;
    margin-left: 0px;
    opacity: 0.5;
    rotate: 60deg;
  }
}

.click-hint.visible {
  opacity: 0.6;
}


@media (min-width: 769px) {
.rarerate {
  font-size: 0.5rem;
  left: -70px;
  top: 12px;
  white-space: nowrap; 
  width: max-content; 
  display: block;    
}
}
@media (max-width: 768px) {
.rarerate {
  font-size: 0.5rem;
  left: 5px;
  top: -40px;
  white-space: nowrap; 
  width: max-content; 
  display: block;   
}
}


