
.telegram-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.telegram-text {
  position: absolute;
  right: 70px; /* отступ от иконки */
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  font-size: 16px;
  color: #000;
  background: white;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.telegram-wrapper:hover .telegram-text {
  opacity: 1;
  transform: translateX(0);
}

.telegram-icon {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.telegram-wrapper:hover .telegram-icon {
  transform: scale(1.2);
}

.scroll-top-wrapper {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  justify-content: center;
  display: flex;
}

.scroll-top-icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.scroll-top-icon:hover {
  transform: scale(1.2);
}

body {
display: flex;
flex-direction: column;
align-items: center;
background-color: #e8e8e8;
font-family: 'Manrope', sans-serif !important;
margin: 0px;
min-height: 100vh;
}
    
.karti_nachalo {
max-width: 1200px;
width: 100%;
display: flex;
margin-top: 25px;
}    

.karti {
width: 70%;
position: relative;
}

.karti img {
max-width: 100%; 
border-radius: 10px;
}

.knopki {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 27%;
  margin-left: 25px;
}

.knopki_vnu {
display: flex;
flex-direction: column;
justify-content: space-around;
height: 45%;
width: 100%;
align-items: center;
}

.knopki img {
max-width: 100%;
width: 70%;
}

.btn {
  background: linear-gradient(to bottom, #007ee5, #005fa3); /* градиент для глубины */
  color: white;
  padding: 14px 20px;
  text-align: center;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  width: 70%;
  border: none;

  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2); /* внутренняя подсветка */

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);#d2d8d6
}

.logo {
display: flex;
justify-content: center;
border-radius: 5px;
}

.logo img {
border-radius: 5px;    
}

.block_1_text {
font-size: 21px;
flex-direction: row;
padding: 38px;
border-radius: 15px;
max-width: 60%;
text-align: left;
max-height: 200px;
width: 40%;
}

.lomar-inline {
  display: inline;
  background-color: #e96752;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  line-height: normal;
  vertical-align: baseline;
  white-space: nowrap;
}

.obshi {
max-width: 1200px;
width: 100%;
display: flex;
justify-content: space-between;
max-height: 350px;
margin-top: 50px;
}

.karti_obshi img {
width: auto;
max-height: 100%;
}

.karti_obshi {
width: 35%;
max-width: 35%;
}

.ludi {
filter: brightness(25%);    
}

.karti_knopki {
  position: absolute;
  top: 60%;
  left: 50%; /* лучше использовать left, не right */
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: 430px;
}

.knopa {
background: linear-gradient(to bottom, #f05154, #c43133); 
margin-bottom: 20px;
width: 100%;
box-sizing: border-box;
}

.knopa2 {
background: linear-gradient(to bottom, #f89a4c, #d96b0f);
}

.ustro {
display: flex;
width: 100%;
justify-content: space-between; 
}

.ustro_k {
width: 120px;    
}

.block_2_text {
display: flex;
flex-direction: column;
justify-content: center;
max-width: 35%;
font-size: 21px;
}

.text_glav {
font-size: 23px;
font-weight: 700;
margin-bottom: 20px;
}

.instr {
margin-top: 15px;
background: linear-gradient(to bottom, #3a3a3a, #1f1f1f);
width: 200px;
}

.buy {
margin-top: 15px;
background: linear-gradient(to bottom, #f89a4c, #d96b0f); 
width: 200px;
}

.jir_text {
font-size: 23px;
font-weight: 700;
}

.norm_text {
font-size: 21px;
margin-top: 20px;
}

.block_4b {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 350px;
  background-color: #ededed; /* Белый фон для контраста */
  border-radius: 12px;        /* Скруглённые углы */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Лёгкая тень */
  padding: 20px;              /* Внутренние отступы */
  border: 1px solid #e8e8e8;  /* Границы в цвете, как просили */
}


.block_4b img {
max-height: 150px;    
}



.b_4 {
  display: grid;
  grid-template-columns: repeat(2, auto); /* ширина по содержимому */
  justify-content: space-evenly;          /* распределение ячеек */
  gap: 10px;
  width: 1200px;
  margin-top: 30px;
  margin-bottom: 50px;
}

footer {
width: 100%;
height: 200px;
background-color: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
bottom: 0px;
flex-shrink: 0;
}

.logo_1 {
color: white;
background-color: #e96752;
padding: 8px;
font-size: 23px;
font-weight: 700;
display: inline-block;
width: auto;
border-radius: 10px;
margin-bottom: 20px;
}
 
.logo_text {
color: white;
margin-bottom: 20px;
}

.payment-logos img {
max-width: 100%;
height: auto;
}

.payment-logos {
display: flex;
justify-content: space-evenly;
}

.logo-item {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
padding: 5px;
}

.ustro_k {
margin-left: 6px;
margin-right: 6px;
}

.ustro_k {
margin-bottom: 20px;    
}

.mob {
display: none;    
}

.no_a {
  text-decoration: none;     /* ❌ Убираем подчёркивание */
}

.header_knop {
      background: linear-gradient(to bottom, #007ee5, #005fa3);
      color: white;
      padding: 14px 20px;
      text-align: center;
      border-radius: 10px;
      font-size: 16px;
      cursor: pointer;
      font-weight: 600;
      border: none;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header_knop:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);#d2d8d6
}


.header {
display: flex;
justify-content: space-evenly;
max-width: 1200px;
width: 100%;
align-items: center; /* Теперь дочерние по высоте только по содержимому */
}

.header_glav {
width: 100%;
display: flex;
justify-content: center;
}

.header_logo, .header_logo img {
max-width: 80px;
border-radius: 10px;
}

header {
width: 100%;
margin-top: 20px;
}


form {
    background: #fff;
    padding: 32px 28px 28px 28px;
    border-radius: 16px;
    box-shadow: 0 6px 24px 0 rgba(52,72,120,0.13), 0 2px 8px rgba(120,120,160,0.07);
    display: flex;
    flex-direction: column;
    width: 350px;
    max-width: 350px;
    transition: box-shadow 0.25s;
    align-items: center;
    margin-bottom: 70px;
}
form:hover, form:focus-within {
    box-shadow: 0 12px 36px 0 rgba(52,72,120,0.17), 0 6px 18px rgba(120,120,160,0.09);
}

h2 {
    text-align: center;
    color: #233659;
    font-size: 1.6rem;
    margin-top: 50px;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

input[type="email"],
input[type="password"] {
    padding: 12px 14px;
    border: 1.5px solid #c8d1e1;
    border-radius: 7px;
    font-size: 1rem;
    background: #f7f9fb;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    width: 90%;
}
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #457dfb;
    background: #fff;
    box-shadow: 0 2px 8px #457dfb1c;
}

#register {
margin-top: 30px;
background: linear-gradient(to bottom, #f89a4c, #d96b0f);
}

.oshibka {
color: red;
padding-left: 12px;
padding-right: 12px;
text-align: center;
padding-bottom: 15px;
}

#register_opt {
background: linear-gradient(to bottom, #f89a4c, #d96b0f);    
}

.zaglu {
flex: 1;    
}

.actual_server {
margin-top: 20px;    
}

.actual_server_country {
font-weight: 600;
font-size: 20px;
margin-top: 5px;
}

.actual_server_ip {
display: flex;
align-items: center;
justify-content: center;
}

.country {
display: flex;
gap: 10px;
margin-top: 5px;
justify-content: center;
}

.country_list {
    transition: all 0.33s cubic-bezier(.7,1.6,.5,1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px #0001;
    margin: 0 4px;
    width: 60px;
    height: auto;
    filter: brightness(0.5);
}
.country_list img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}
.left_country, .right_country {
    cursor: pointer;
    user-select: none;
    opacity: 0.75;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.left_country img, .right_country img {
height: 30px;
}  


.left_country:hover, .right_country:hover {
    opacity: 1;
}

.vybor_text {
display: flex;
justify-content: center;
margin-top: 10px;
}

.actual_server_flag, .actual_server_country {
display: flex;
justify-content: center;
}

.active {
filter: brightness(1);    
}

.actual_server img {
width: 130px;    
}

.left_bottom_obsh {
width: 100%;
max-width: 100%;
display: flex;
height: 100%;
}

.vless_link_text {
text-align: center;
margin-bottom: 20px;
}

.vless_link {
font-size: 13px;
word-break: break-all;
}

.vless_link_knopa {
width: 90px;
font-size: 14px;
padding: 5px;
margin-top: 10px;
}

.left_bottom_obsh_left, .left_bottom_obsh_right {
width: 49%;
max-width: 49%;
display: flex;
height: 100%;
flex-direction: column;
align-items: center;
padding-top: 20px;
}

.qr_cod {
height: 100%;    
}

.period_obsh {
height: 100px;
width: 100%;
}

.exit {
background: linear-gradient(to bottom, #f05154, #c43133);
padding: 10px;
}

.panel_glav_left, .panel_glav_right_top, .panel_glav_right_bottom_left, .panel_glav_right_bottom_right {
background-color: #e6e6e6;
border-radius: 10px;
padding: 10px;
box-shadow: 0 6px 32px 0 rgba(40, 68, 122, 0.17), 0 2.5px 14px 0 rgba(40, 68, 122, 0.16);
transition: box-shadow 0.3s, transform 0.3s;
}

.period_data {
font-weight: 700;    
}



















@media (max-width: 950px) {

.karti_nachalo {
flex-direction: column;
margin-top: 0px;
}

.karti {
width: 100%;    
}

.knopki {
width: 100%;
margin-left: 0px;
margin-top: 30px;
}

.logo {
margin-bottom: 20px;    
}

.bta {
margin-bottom: 10px;    
}

.obshi {
flex-direction: column;
max-height: none;
margin-top: 20px;
}

.block_1_text, .block_2_text {
width: 100%; 
max-width: 100%;
overflow-wrap: break-word;
box-sizing: border-box;
padding: 0px;
padding-left: 10px;
padding-right: 10px;
max-height: none;
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 10px;
text-align: justify;
font-size: 18px;
}

.block_1_text span {
display: inline;    
}

.karti_obshi {
width: 100%;
max-width: 100%;
display: flex;
justify-content: center;
}

.karti_obshi img {
width: 70%;
max-width: 70%;
height: auto;
}

.mob {
display: flex;    
}

.pc {
display: none;    
}

.b_4 {
display: flex;
flex-direction: column;
width: 100%;
}

.block_4b {
max-width: none;
margin-left: 10px;
margin-right: 10px;
}

.buy {
   
}

.ustro_k {
width: 27%;    
}

.ustro {
margin-top: 20px;    
}

.text_glav {
margin-top: 80px;    
}

footer {
height: 200px;    
}

.ustro_2 {
display: flex;
justify-content: center;
}

.logo_text {
text-align: center;    
}

.logo-item {
width: 8%;    
}

header {
background-color: #0067B8;
margin-top: 0px;
}

.header_menu img {
width: 100%;   
}

.header {
justify-content: space-evenly;
}

.header_menu {
width: 7%;    
}

.header_logo_mob {
display: flex;
align-items: center;
background-color: #cf654b;
border-radius: 10px;
}

.header_logo_mob img {
width: 70%;
padding-top: 5px;
padding-bottom: 5px;
}

.header_glav {
height: 80px;    
}

.header_logo_text {
color: white;
padding: 10px;
font-weight: 600;
border-radius: 5px;
font-size: 20px;

}

.header_logo {
width: 30%;
display: flex;
align-items: center;
justify-content: center;
}

.vypad_spysok {
width: 100vw;
background-color: #0067B8;
display: flex;
justify-content: flex-start;
flex-direction: column;
align-items: center;
height: 100vh;
font-size: 23px;
gap: 5px;
display: none;
}

.vypad_spysok_text {
color: white;
font-weight: 600;
}

form {
width: 95%;
max-width: 95%;
box-sizing: border-box;
}

h2 {
margin-top: 30px;
margin-bottom: 20px;
}

.panel_glav_left {
display: none;    
}

.logo_text {
font-size: 12px;    
}

}




