.to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 245, 212, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.3);
  }
  
  .to-top:hover {
    background: rgba(0, 245, 212, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 212, 0.5);
  }
  
  .to-top:active {
    transform: translateY(1px);
  }
  
  .to-top.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .to-top svg {
    fill: #0f172a;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
  }
  
  .to-top:hover svg {
    transform: translateY(-3px);
  }
  
  /* Адаптивность */
  @media (max-width: 768px) {
    .to-top {
      width: 45px;
      height: 45px;
      right: 20px;
      bottom: 20px;
    }
    
    .to-top svg {
      width: 20px;
      height: 20px;
    }
  }