* {
    box-sizing: border-box;
  }

  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
    background-attachment: fixed;
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
h1 {
  color: var(--headerTextColor);
  padding-bottom: 20px;
  text-align: center;
}

  .toggle-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
  }

  #banner-container {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    aspect-ratio: 5 / 1;
    background: rgba(0,0,0,.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2vw;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 99;
  }

  .container-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    transition: padding-top 0.3s ease;
  }

  .container-wrapper.banner-visible {
    padding-top: 200px;
  }

  .container {
    width: 100%;
    max-width: 684px;
    min-width: 300px;
    padding: 30px;
    background: rgba(0,0,0,.5);
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 80vh;
    overflow-y: auto;
  }

  .button-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: var(--text_color);
    font-size: 19px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 1px;
    letter-spacing: 4px;
    background-color: var(--bg_color);
    margin-bottom: 14px;
    width: 100%;
    text-align: center;
  }

  a:hover {
background: var(--hv_bg_color);
color: var(--hv_text_color);
border-radius: 5px;
cursor: pointer;
box-shadow: 0 0 5px var(--hv_bg_color),
            0 0 25px var(--hv_bg_color),
            0 0 50px var(--hv_bg_color),
            0 0 100px var(--hv_bg_color);
}

a span {
position: absolute;
display: block;
}

a span:nth-child(1) {
top: 0;
left: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, var(--hv_bg_color));
animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
0% {
  left: -100%;
}
50%,100% {
  left: 100%;
}
}

a span:nth-child(2) {
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, var(--hv_bg_color));
animation: btn-anim2 1s linear infinite;
animation-delay: .25s
}

@keyframes btn-anim2 {
0% {
  top: -100%;
}
50%,100% {
  top: 100%;
}
}

a span:nth-child(3) {
bottom: 0;
right: -100%;
width: 100%;
height: 2px;
background: linear-gradient(270deg, transparent, var(--hv_bg_color));
animation: btn-anim3 1s linear infinite;
animation-delay: .5s
}

@keyframes btn-anim3 {
0% {
  right: -100%;
}
50%,100% {
  right: 100%;
}
}

a span:nth-child(4) {
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg, transparent, var(--hv_bg_color));
animation: btn-anim4 1s linear infinite;
animation-delay: .75s
}

@keyframes btn-anim4 {
0% {
  bottom: -100%;
}
50%,100% {
  bottom: 100%;
}
}


  /* CHAT */
  .chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    z-index: 999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }

  .chat-widget.open {
    width: 320px;
    height: 420px;
    border-radius: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .chat-header {
    background: var(--bg_color);
    color: var(--text_color);
    padding: 10px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
  }

  .chat-body {
    display: none;
    flex: 1;
    flex-direction: column;
    padding: 10px;
  }

  .chat-widget.open .chat-body {
    display: flex;
  }

  .chat-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .chat-section input {
    padding: 8px;
    background: #00000099;
    border: none;
    color: white;
    border-radius: 5px;
  }

  .chat-section button {
    padding: 8px;
    background: var(--hv_bg_color);
    border: none;
    color: var(--hv_text_color);
    border-radius: 5px;
    cursor: pointer;
  }

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}