.Gptsmodal {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #2b2b2b; /* тёмный фон */
  padding: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
}

.Gptsmodal:hover {
  background-color: #1f1f1f; /* ещё темнее при наведении */
  color: #ffffff;
  text-decoration: none;
}

.Gptsmodal:active {
  background-color: #121212; /* очень тёмный при нажатии */
}

 .Gptsmodal img {
 margin-left: 5px;
 width: 20px;
 height: 20px;
 transition: opacity 0.3s ease;
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 right: 10px;
 }

 .Gptsmodal:hover img {
 opacity: 0.8;
 }

 .Gptsmodal:before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(255, 255, 255, 0.3);
 opacity: 0;
 transition: opacity 0.3s ease;
 }

 .Gptsmodal:active:before {
 opacity: 1;
 }
 
.Gptsmodal-modal {
 display: none;
 position: fixed;
 z-index: 9999;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 overflow: auto;
 background-color: rgba(0, 0, 0, 0.4);
}

.Gptsmodal-content {
 background-color: #fff;
 margin: 15% auto;
 padding: 20px;
 border: 1px solid #888;
 width: 80%;
 max-width: 600px;
}

.Gptsmodal-close {
 color: #888;
 float: right;
 font-size: 28px;
 font-weight: bold;
 cursor: pointer;
}

.Gptsmodal-close:hover,
.Gptsmodal-close:focus {
 color: #000;
 text-decoration: none;
 cursor: pointer;
}