/* ===== НЕОНОВЫЙ СТИЛЬ ===== */
body {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  min-height: 100vh;
}

.card {
  background-color: unset;
  transition: all 0.3s ease;
}

.card-body {
  color: #F1F1F1;
}

.bg-color {
  background: rgba(20, 20, 40, 0.8);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2),
              inset 0 0 20px rgba(0, 212, 255, 0.05);
  transition: all 0.3s ease;
}

.bg-color:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4),
              inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.bg-color2 {
  background: rgba(30, 30, 60, 0.9);
  border: 2px solid rgba(255, 0, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.2),
              inset 0 0 20px rgba(255, 0, 255, 0.05);
  transition: all 0.3s ease;
}

.bg-color2:hover {
  border-color: rgba(255, 0, 255, 0.5);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.4),
              inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.bg-color3 {
  background: rgba(20, 20, 40, 0.9);
  border: 2px solid rgba(0, 212, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}
.bg-color4 {
  background-color: #9DE565;
}
.bg-color5 {
  background-color: #16D5E2;
}

.no-boder {
  border: unset;
}

.table>:not(caption)>*>* {
  background: rgba(20, 20, 40, 0.6);
  border-color: rgba(0, 212, 255, 0.2);
  color: #fff;
}

.table-hover>tbody>tr:hover>* {
  background: rgba(0, 212, 255, 0.2) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}
.btn-color1 {
  background: linear-gradient(135deg, #00d4ff 0%, #ff00ff 100%);
  border: 2px solid rgba(0, 212, 255, 0.5);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
              inset 0 0 20px rgba(255, 0, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-color1:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8),
              inset 0 0 20px rgba(255, 0, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.8);
}

.btn-color2 {
  background: linear-gradient(135deg, #ff00ff 0%, #ff463d 100%);
  border: 2px solid rgba(255, 0, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  transition: all 0.3s ease;
}

.btn-color2:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
  border-color: rgba(255, 0, 255, 0.8);
}

.btn-color3 {
  background: linear-gradient(135deg, #00d4ff 0%, #ff00ff 100%);
  border: 2px solid rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

.btn-color3:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
  border-color: rgba(0, 212, 255, 0.8);
}
.btn-r10 {
  border-radius: 10px;
}

h1, h2, h3, h4, h5 {
  color: #FFF;
}
a, .clr1 {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

a:hover, .clr1:hover {
  color: #ff00ff;
  text-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
}
.lh {
  height: 70px !important;
}

#nav {
  background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(48, 43, 99, 0.95) 100%);
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 5px 30px rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
}

.nav-link {
  font-size: 18px;
  color: #FFF;
}
.nav-link:hover {
  color: #FFF;
}

.nav-link {
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #00d4ff !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.nav-link.active {
  color: #00d4ff !important;
  text-shadow: 0 0 15px rgba(0, 212, 255, 1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.autocomplete-suggestions { 
	border: 1px solid #dee2e6; 
	background: #FFF; 
	overflow: auto; 

	border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.autocomplete-suggestion { 
	padding: .25rem .5rem;
	white-space: nowrap; 
	overflow: hidden; 
	cursor:pointer 
}
.autocomplete-selected { 
	background: #eee; 
}
.autocomplete-suggestions strong { 
	font-weight: normal; 
	color: #0d6efd; 
}
.autocomplete-group { 
	padding: 2px 5px; 
}
.autocomplete-group strong { 
	display: block; 
	border-bottom: 1px solid #000; 
}
.table-hover>tbody>tr:hover>*{
	background-color:#99CCFF !important;
}
.thumb{
	max-width:100px;
}

@-webkit-keyframes zoom {
  from {-webkit-atransform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}
ul.numeric-decimals { counter-reset:section; list-style-type:none; }
ul.numeric-decimals li { list-style-type:none; }
ul.numeric-decimals li ul { counter-reset:subsection; }
ul.numeric-decimals li:before{
  counter-increment:section;
  content:counter(section) ". ";/*content:"Section " counter(section) ". ";*/
}
ul.numeric-decimals li ul li:before {
  counter-increment:subsection;
  content:counter(section) "." counter(subsection) " ";
}
.cg_graph_block {
  position: relative;
}
.cursor {
  font-size: 30px;
  color: white;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  z-index: 10;
}
.no-copy {
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}
.counter {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  /* box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.08); */
  font-weight: 300;
  align-items: center;
  justify-content: center;
}
.counter {
  height: 100%;
  font-size: 70px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-weight: bold;
  display: flex;
  width: 100%;
}
.circle-online {
  width :8px;
  height:8px;
  display: inline-block;
  background: linear-gradient(to right, #0ACB90, #2BDE6D);
  border-radius:100%;
  margin-bottom:2px;  
}
.pulse-online {
	display: inline-block;
  animation :pulse 11s infinite;
  animation-duration: 4s;
}

.logo {
  position: relative;
  width: 323px;
  height: 82px;
  left: 0px;
  top: 0px;
}
.logo-p1 {
  position: absolute;
  /*width: 195px;*/
  height: 67px;
  left: 20px;
  top: 3px;
  
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 67px;
  
  background: linear-gradient(90deg, #00d4ff 0%, #ff00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  animation: neonGlow 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

@keyframes neonGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)) brightness(1);
  }
  to {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 30px rgba(255, 0, 255, 0.5)) brightness(1.2);
  }
}
.logo-p2 {
  position: absolute;
  width: 41px;
  height: 41px;
  left: 233px;
  top: 21px;
  
  background: #454545;
  border-radius: 5px;
}
.logo-p3 {
  position: absolute;
  width: 26px;
  height: 37px;
  left: 240px;
  top: 23px;
  
  font-style: normal;
  font-weight: 600;
  font-size: 25px;
  line-height: 37px;
  
  color: #D1EB3A;
}
#bg_logo {
  position: absolute;
  width: 323px;
  height: 82px;
  left: 0px;
  top: 0px;
  /* В десктопной версии эта SVG давала "старый" фон под логотипом.
     Отключаем и используем неоновый фон .alogo */
  display: none;
}

.accordion-button {
  background-color: unset;
  color: #FFF;
  font-size: 30px;;
}
.accordion-body {
  color: #F9F9F9;
  size: 16px;
}
.accordion .accordion-button::after {
  --bs-accordion-btn-icon: url("../img/accordion-btn.svg");
  --bs-accordion-btn-active-icon: url("../img/accordion-btn-active.svg");
}
.accordion-item {
  background-color: unset;
  border-bottom: 1px solid;
  border-top: 1px solid;
  border-left: 0;
  border-right: 0;
  border-radius: 0% !important;
}
.accordion-button:not(.collapsed) {
  color: #FFF;
  background-color: unset;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.form-check-input:focus {
  border-color: #DBEC2B;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(219, 236, 43, 0.25);
}
.form-check-input:checked {
  background-color: #DBEC2B;
  border-color: #DBEC2B;
}

.form-control {
  background: rgba(20, 20, 40, 0.6);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  font-size: 1.2rem;
  padding-left: 25px;
  color: #fff;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(20, 20, 40, 0.8);
  border-color: #00d4ff;
  outline: 0;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
              inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.form-control2 {
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  /* Фикс: на белом фоне должен быть тёмный текст, иначе кажется что поле пустое */
  color: #111 !important;
}

.form-control2:focus {
  background-color: #fff;
  border-color: #00d4ff;
  color: #111 !important;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

.form-control2::placeholder {
  color: #6b7280;
  opacity: 1;
}

.col-form-label {
  line-height: 1.2;
  position: absolute;
  margin-top: -0.9em;
  margin-left: 1em;
  background-color: #454955;
  padding: 0 10px;
  color: #F1F1F1;
  z-index: 100;
}

.input-group-text {
  background-color: unset;
  border: 1px solid #FFF;
}

.list-group-item {
  color: #E0E0E0;
  background-color: unset;
  border-bottom: 1px solid;
  border-top: 1px solid;
  border-left: 0;
  border-right: 0;
}
.list-group-item {
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: #00d4ff;
}

.list-group-item.active {
  background: rgba(0, 212, 255, 0.2);
  border-color: #00d4ff;
  font-weight: 700;
  color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.btn-warning {
  --bs-btn-color: #000;
  --bs-btn-bg: #DBEC2B;
  --bs-btn-border-color: #DBEC2B;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #DBEC2B;
  --bs-btn-hover-border-color: #DBEC2B;
  --bs-btn-focus-shadow-rgb: 217,164,6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #DBEC2B;
  --bs-btn-active-border-color: #DBEC2B;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #DBEC2B;
  --bs-btn-disabled-border-color: #DBEC2B;
}

.ov {
  overflow: auto;
}
#payTable td, #withdrawTable td, #teble-battle td {
  border-color: #EEEEEE;
}

.group1 {
  position: relative;
}
.badge_com {
  position: absolute;
  right: 5px;
  top: 7px;
  background-color: #D1EB3A;
  padding: 5px 10px;
  font-size: 12px;
  color: #5A5F6E;
}

.chat-msg-box {
  max-height: 300px;
}

.msg1 {
  float: right;
  white-space: pre-wrap;
  background-color: #DBEC2B;
  border-radius: 1rem;
  color: black;
  padding: 5px 10px;
  margin-right: 10px;
  position: relative;
}
.msg1::after {
  content: "";
  background-image: url(../img/msgr.png);
  width: 34px;
  height: 22px;
  display: block;
  position: absolute;
  right: -15px;
  bottom: 0px;
  background-position-x: right;
}

.msg2 {
  float: left;
  white-space: pre-wrap;
  background-color: #666666;
  border-radius: 1rem;
  color: #F1F1F1;
  padding: 5px 10px;
  margin-left: 10px;
  position: relative;
}
.msg2::after {
  content: "";
  background-image: url(../img/msgl.png);
  width: 33px;
  height: 18px;
  display: block;
  position: absolute;
  left: -17px;
  bottom: 0px;
  background-position-x: left;
}

.clb {
  clear: both;
}

.fs10 {
  font-size: 10px;
}
.fs11 {
  font-size: 11px;
}
.fs12 {
  font-size: 12px;
}

.px-15 {
  padding: .15rem!important
}

.border1 {
  border: 1px solid #FFF;
}

.game-menu .nav-link{
  background: rgba(20, 20, 40, 0.6);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.game-menu .nav-link:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.6);
  color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.game-menu .nav-link.active{
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(255, 0, 255, 0.3));
  color: #fff;
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}


.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #454545;
  --bs-btn-border-color: #454545;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #454545;
  --bs-btn-hover-border-color: #454545;
  --bs-btn-focus-shadow-rgb: 130,138,145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #454545;
  --bs-btn-active-border-color: #454545;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #454545;
  --bs-btn-disabled-border-color: #454545;
}

.btn-outline-danger {
  --bs-btn-color: #FF423E;
  --bs-btn-border-color: #FF423E;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #FF423E;
  --bs-btn-hover-border-color: #FF423E;
  --bs-btn-focus-shadow-rgb: 220,53,69;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #FF423E;
  --bs-btn-active-border-color: #FF423E;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #FF423E;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #FF423E;
  --bs-gradient: none;
}

.btn-outline-primary {
  --bs-gradient: none;
  --bs-btn-color: #000;
  --bs-btn-bg: #DBEC2B;
  --bs-btn-border-color: #DBEC2B;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #ced66f;
  --bs-btn-hover-border-color: #DBEC2B;
  --bs-btn-focus-shadow-rgb: 217,164,6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #DBEC2B;
  --bs-btn-active-border-color: #DBEC2B;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #DBEC2B;
  --bs-btn-disabled-border-color: #DBEC2B;
}

.btn-outline-primary2 {
    --bs-btn-color: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0d6efd;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0d6efd;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;
}

.btn-outline-success {
  --bs-btn-color: #36C802;
  --bs-btn-border-color: #36C802;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #36C802;
  --bs-btn-hover-border-color: #36C802;
  --bs-btn-focus-shadow-rgb: 25,135,84;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #36C802;
  --bs-btn-active-border-color: #36C802;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #36C802;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #36C802;
  --bs-gradient: none;
}

.wug {
  position: relative;
}
.wug::before {
  content: "";
  background-image: url(../img/ug.png);
  width: 21px;
  height: 21px;
  display: block;
  position: absolute;
  left: -5px;
  bottom: -2px;
  transform: rotate(180deg);
}
.wug::after {
  content: "";
  background-image: url(../img/ug.png);
  width: 21px;
  height: 21px;
  display: block;
  position: absolute;
  left: 251px;
  top: 0px;
}

.text-danger {
  color: #FF423E!important;
}
.text-success {
  --bs-text-opacity: 1;
  color: #36C802!important;
}

.btn-more {
  text-align: left;
  position: relative;
  color: #FF423E;
  border-color: #FF423E;
}

.btn-more::after {
  background-image: url(../img/v2.svg);
  position: absolute;
  content: '';
  height: 100%;
  width: 50%;
  right: -20px;
  background-repeat: no-repeat;
  top: 0;
  background-size: contain;
}

.btn-less {
  text-align: left;
  position: relative;
  color: #5282FF;
  border-color: #5282FF;
}

.btn-less::after {
  background-image: url(../img/v1.svg);
  position: absolute;
  content: '';
  height: 100%;
  width: 50%;
  right: -19px;
  background-repeat: no-repeat;
  top: 0;
  background-size: contain;
}

.btn-less.active {
  color: #FFFFFF;
  border-color: #0265E8;
  background-color: #0265E8;
}

.btn-less.active::after {
  background-image: url(../img/v1_wh.svg);
  position: absolute;
  content: '';
  height: 100%;
  width: 50%;
  right: -19px;
  background-repeat: no-repeat;
  top: 0;
  background-size: contain;
}

.btn-more.active {
  color: #FFFFFF;
  border-color: #FF423E;
  background-color: #FF423E;
}

.btn-more.active::after {
  background-image: url(../img/v2_wh.svg);
  position: absolute;
  content: '';
  height: 100%;
  width: 50%;
  right: -20px;
  background-repeat: no-repeat;
  top: 0;
  background-size: contain;
}

.coin-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  perspective: 1000px;
}

.coin-flip {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s;
}

.coin-side {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  backface-visibility: hidden;
  border: 3px solid rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}

.coin-heads-side {
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #b3e5fc 40%, #0277bd 100%);
  color: #001e3c;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: rotateY(0deg);
}

.coin-tails-side {
  background: radial-gradient(circle at 30% 30%, #fff3e0 0%, #ffcc80 40%, #ef6c00 100%);
  color: #4e1b00;
  text-shadow: 0 0 10px rgba(255, 152, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: rotateY(180deg);
}

.coin-flip.coin-heads {
  transform: rotateY(0deg);
}

.coin-flip.coin-heads .coin-heads-side {
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #64b5f6 30%, #0277bd 100%);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.9), 0 0 50px rgba(0, 212, 255, 0.5);
}

.coin-flip.coin-tails {
  transform: rotateY(180deg);
}

.coin-flip.coin-tails .coin-tails-side {
  background: radial-gradient(circle at 30% 30%, #fff3e0 0%, #ffb74d 30%, #ef6c00 100%);
  box-shadow: 0 0 35px rgba(255, 152, 0, 0.9), 0 0 50px rgba(255, 152, 0, 0.5);
}

@keyframes coinSpin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(1440deg); /* 4 полных оборота за 4.5 секунды */
  }
}

.coin-flip.flipping {
  animation: coinSpin 4.5s cubic-bezier(0.2, 0.4, 0.2, 1);
}

/* Кубик (Dice) */
.dice-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  perspective: 1000px;
}

.dice {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s;
}

.dice-face {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.95));
  border: 3px solid rgba(0, 212, 255, 0.6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
  backface-visibility: hidden;
  padding: 15px;
}

/* Точки на гранях кубика */
.dice-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #001e3c;
  box-shadow: 0 0 8px rgba(0, 30, 60, 0.8), inset 0 2px 2px rgba(0, 0, 0, 0.3);
  position: absolute;
}

/* Расположение точек для каждой грани */
.dice-face-1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-face-1 .dice-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dice-face-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-face-2 .dice-dot:nth-child(1) {
  top: 25%;
  left: 25%;
}
.dice-face-2 .dice-dot:nth-child(2) {
  bottom: 25%;
  right: 25%;
}

.dice-face-3 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-face-3 .dice-dot:nth-child(1) {
  top: 20%;
  left: 20%;
}
.dice-face-3 .dice-dot:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.dice-face-3 .dice-dot:nth-child(3) {
  bottom: 20%;
  right: 20%;
}

.dice-face-4 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-face-4 .dice-dot:nth-child(1) {
  top: 20%;
  left: 20%;
}
.dice-face-4 .dice-dot:nth-child(2) {
  top: 20%;
  right: 20%;
}
.dice-face-4 .dice-dot:nth-child(3) {
  bottom: 20%;
  left: 20%;
}
.dice-face-4 .dice-dot:nth-child(4) {
  bottom: 20%;
  right: 20%;
}

.dice-face-5 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-face-5 .dice-dot:nth-child(1) {
  top: 20%;
  left: 20%;
}
.dice-face-5 .dice-dot:nth-child(2) {
  top: 20%;
  right: 20%;
}
.dice-face-5 .dice-dot:nth-child(3) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.dice-face-5 .dice-dot:nth-child(4) {
  bottom: 20%;
  left: 20%;
}
.dice-face-5 .dice-dot:nth-child(5) {
  bottom: 20%;
  right: 20%;
}

.dice-face-6 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-face-6 .dice-dot:nth-child(1) {
  top: 20%;
  left: 20%;
}
.dice-face-6 .dice-dot:nth-child(2) {
  top: 20%;
  right: 20%;
}
.dice-face-6 .dice-dot:nth-child(3) {
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
}
.dice-face-6 .dice-dot:nth-child(4) {
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
}
.dice-face-6 .dice-dot:nth-child(5) {
  bottom: 20%;
  left: 20%;
}
.dice-face-6 .dice-dot:nth-child(6) {
  bottom: 20%;
  right: 20%;
}

/* Позиции граней кубика */
.dice-face-1 { transform: rotateY(0deg) translateZ(60px); }
.dice-face-2 { transform: rotateY(90deg) translateZ(60px); }
.dice-face-3 { transform: rotateX(90deg) translateZ(60px); }
.dice-face-4 { transform: rotateX(-90deg) translateZ(60px); }
.dice-face-5 { transform: rotateY(-90deg) translateZ(60px); }
.dice-face-6 { transform: rotateY(180deg) translateZ(60px); }

/* Показываем нужную грань */
.dice.show-1 { transform: rotateX(0deg) rotateY(0deg); }
.dice.show-2 { transform: rotateX(0deg) rotateY(-90deg); }
.dice.show-3 { transform: rotateX(-90deg) rotateY(0deg); }
.dice.show-4 { transform: rotateX(90deg) rotateY(0deg); }
.dice.show-5 { transform: rotateX(0deg) rotateY(90deg); }
.dice.show-6 { transform: rotateX(0deg) rotateY(180deg); }

/* Анимация вращения кубика - останавливается на грани 1 */
@keyframes diceRoll1 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg);
  }
  40% {
    transform: rotateX(720deg) rotateY(360deg) rotateZ(180deg);
  }
  60% {
    transform: rotateX(1080deg) rotateY(540deg) rotateZ(270deg);
  }
  80% {
    transform: rotateX(1440deg) rotateY(720deg) rotateZ(360deg);
  }
  100% {
    transform: rotateX(1440deg) rotateY(720deg) rotateZ(360deg);
  }
}

/* Анимация вращения кубика - останавливается на грани 2 (rotateY(-90deg) = rotateY(270deg)) */
@keyframes diceRoll2 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg);
  }
  40% {
    transform: rotateX(720deg) rotateY(360deg) rotateZ(180deg);
  }
  60% {
    transform: rotateX(1080deg) rotateY(540deg) rotateZ(270deg);
  }
  80% {
    transform: rotateX(1440deg) rotateY(720deg) rotateZ(360deg);
  }
  100% {
    transform: rotateX(1440deg) rotateY(990deg) rotateZ(360deg);
  }
}

/* Анимация вращения кубика - останавливается на грани 3 (rotateX(-90deg) = rotateX(270deg)) */
@keyframes diceRoll3 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg);
  }
  40% {
    transform: rotateX(720deg) rotateY(360deg) rotateZ(180deg);
  }
  60% {
    transform: rotateX(1080deg) rotateY(540deg) rotateZ(270deg);
  }
  80% {
    transform: rotateX(1440deg) rotateY(720deg) rotateZ(360deg);
  }
  100% {
    transform: rotateX(1710deg) rotateY(720deg) rotateZ(360deg);
  }
}

/* Анимация вращения кубика - останавливается на грани 4 (rotateX(90deg)) */
@keyframes diceRoll4 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg);
  }
  40% {
    transform: rotateX(720deg) rotateY(360deg) rotateZ(180deg);
  }
  60% {
    transform: rotateX(1080deg) rotateY(540deg) rotateZ(270deg);
  }
  80% {
    transform: rotateX(1440deg) rotateY(720deg) rotateZ(360deg);
  }
  100% {
    transform: rotateX(1530deg) rotateY(720deg) rotateZ(360deg);
  }
}

/* Анимация вращения кубика - останавливается на грани 5 (rotateY(90deg)) */
@keyframes diceRoll5 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg);
  }
  40% {
    transform: rotateX(720deg) rotateY(360deg) rotateZ(180deg);
  }
  60% {
    transform: rotateX(1080deg) rotateY(540deg) rotateZ(270deg);
  }
  80% {
    transform: rotateX(1440deg) rotateY(720deg) rotateZ(360deg);
  }
  100% {
    transform: rotateX(1440deg) rotateY(810deg) rotateZ(360deg);
  }
}

/* Анимация вращения кубика - останавливается на грани 6 (rotateY(180deg)) */
@keyframes diceRoll6 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg);
  }
  40% {
    transform: rotateX(720deg) rotateY(360deg) rotateZ(180deg);
  }
  60% {
    transform: rotateX(1080deg) rotateY(540deg) rotateZ(270deg);
  }
  80% {
    transform: rotateX(1440deg) rotateY(720deg) rotateZ(360deg);
  }
  100% {
    transform: rotateX(1440deg) rotateY(900deg) rotateZ(360deg);
  }
}

.dice.dice-rolling-1 {
  animation: diceRoll1 5.5s cubic-bezier(0.2, 0.4, 0.2, 1) forwards;
}

.dice.dice-rolling-2 {
  animation: diceRoll2 5.5s cubic-bezier(0.2, 0.4, 0.2, 1) forwards;
}

.dice.dice-rolling-3 {
  animation: diceRoll3 5.5s cubic-bezier(0.2, 0.4, 0.2, 1) forwards;
}

.dice.dice-rolling-4 {
  animation: diceRoll4 5.5s cubic-bezier(0.2, 0.4, 0.2, 1) forwards;
}

.dice.dice-rolling-5 {
  animation: diceRoll5 5.5s cubic-bezier(0.2, 0.4, 0.2, 1) forwards;
}

.dice.dice-rolling-6 {
  animation: diceRoll6 5.5s cubic-bezier(0.2, 0.4, 0.2, 1) forwards;
}

/* Кнопки выбора числа на кубике */
.btn-dice-number {
  --bs-btn-color: #00d4ff;
  --bs-btn-border-color: #00d4ff;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #00d4ff;
  --bs-btn-hover-border-color: #00d4ff;
  --bs-btn-focus-shadow-rgb: 0, 212, 255;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #00d4ff;
  --bs-btn-active-border-color: #00d4ff;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #00d4ff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #00d4ff;
  --bs-gradient: none;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
  background: transparent;
  min-height: 45px;
}

.btn-dice-number:hover {
  color: #000;
  background: linear-gradient(135deg, #00d4ff, #4dd0e1);
  border-color: #00d4ff;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
  text-shadow: none;
  transform: translateY(-2px);
}

.btn-dice-number.active {
  color: #000;
  background: linear-gradient(135deg, #00d4ff, #4dd0e1);
  border-color: #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
  text-shadow: none;
}

/* Точки на кнопках выбора кубика */
.btn-dice-number {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  padding: 8px;
}

.dice-btn-dots {
  display: inline-flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  min-height: 28px;
  padding: 2px;
}

.dice-btn-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.8);
  flex-shrink: 0;
}

.btn-dice-number:hover .dice-btn-dot,
.btn-dice-number.active .dice-btn-dot {
  background: #001e3c;
  box-shadow: 0 0 8px rgba(0, 30, 60, 0.8);
}

  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #00d4ff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #00d4ff;
  --bs-gradient: none;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
  background: transparent;
  min-height: 45px;
}

/* Расположение точек на кнопках */
.dice-btn-1 {
  justify-content: center;
  align-items: center;
}
.dice-btn-1 .dice-btn-dot {
  width: 10px;
  height: 10px;
}

.dice-btn-2 {
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
}
.dice-btn-2 .dice-btn-dot:nth-child(1) {
  align-self: flex-start;
  margin-top: 4px;
}
.dice-btn-2 .dice-btn-dot:nth-child(2) {
  align-self: flex-end;
  margin-bottom: 4px;
}

.dice-btn-3 {
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
}
.dice-btn-3 .dice-btn-dot:nth-child(1) {
  align-self: flex-start;
  margin-top: 4px;
}
.dice-btn-3 .dice-btn-dot:nth-child(2) {
  align-self: center;
}
.dice-btn-3 .dice-btn-dot:nth-child(3) {
  align-self: flex-end;
  margin-bottom: 4px;
}

.dice-btn-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  width: 100%;
  height: 100%;
  place-items: center;
}
.dice-btn-4 .dice-btn-dot:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
}
.dice-btn-4 .dice-btn-dot:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
.dice-btn-4 .dice-btn-dot:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: end;
}
.dice-btn-4 .dice-btn-dot:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end;
}

.dice-btn-5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  width: 100%;
  height: 100%;
  position: relative;
  place-items: center;
}
.dice-btn-5 .dice-btn-dot:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
}
.dice-btn-5 .dice-btn-dot:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
.dice-btn-5 .dice-btn-dot:nth-child(3) {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.dice-btn-5 .dice-btn-dot:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: end;
}
.dice-btn-5 .dice-btn-dot:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end;
}

.dice-btn-6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 2px;
  padding: 3px;
  width: 100%;
  height: 100%;
  place-items: center;
}
.dice-btn-6 .dice-btn-dot:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
}
.dice-btn-6 .dice-btn-dot:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
.dice-btn-6 .dice-btn-dot:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: center;
}
.dice-btn-6 .dice-btn-dot:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: center;
}
.dice-btn-6 .dice-btn-dot:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  align-self: end;
}
.dice-btn-6 .dice-btn-dot:nth-child(6) {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: end;
}

/* Кнопки для Coin Flip - цвета соответствуют монете */
.btn-coin-heads {
  --bs-btn-color: #0277bd;
  --bs-btn-border-color: #0277bd;
  --bs-btn-hover-color: #001e3c;
  --bs-btn-hover-bg: #b3e5fc;
  --bs-btn-hover-border-color: #0277bd;
  --bs-btn-focus-shadow-rgb: 2, 119, 189;
  --bs-btn-active-color: #001e3c;
  --bs-btn-active-bg: #b3e5fc;
  --bs-btn-active-border-color: #0277bd;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #0277bd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0277bd;
  --bs-gradient: none;
  border: 2px solid #0277bd;
  color: #0277bd;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
  background: transparent;
}

.btn-coin-heads:hover {
  color: #001e3c;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #b3e5fc 40%, #0277bd 100%);
  border-color: #0277bd;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-coin-heads.active {
  color: #001e3c;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #64b5f6 30%, #0277bd 100%);
  border-color: #0277bd;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 50px rgba(0, 212, 255, 0.5);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Текст в стиле кнопки «Решка» (btn-coin-tails) — боковая панель и т.п.
   Специфичнее .card-body { color }, иначе наследуется светлый цвет */
.card-body .text-coin-tails-match,
.text-coin-tails-match {
  color: #ef6c00 !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.card-body .text-coin-tails-match .bi,
.text-coin-tails-match .bi {
  color: inherit;
}

.btn-coin-tails {
  --bs-btn-color: #ef6c00;
  --bs-btn-border-color: #ef6c00;
  --bs-btn-hover-color: #4e1b00;
  --bs-btn-hover-bg: #ffcc80;
  --bs-btn-hover-border-color: #ef6c00;
  --bs-btn-focus-shadow-rgb: 239, 108, 0;
  --bs-btn-active-color: #4e1b00;
  --bs-btn-active-bg: #ffcc80;
  --bs-btn-active-border-color: #ef6c00;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ef6c00;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ef6c00;
  --bs-gradient: none;
  border: 2px solid #ef6c00;
  color: #ef6c00;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 152, 0, 0.7);
  box-shadow: 0 0 15px rgba(255, 152, 0, 0.4);
  transition: all 0.3s ease;
  background: transparent;
}

.btn-coin-tails:hover {
  color: #4e1b00;
  background: radial-gradient(circle at 30% 30%, #fff3e0 0%, #ffcc80 40%, #ef6c00 100%);
  border-color: #ef6c00;
  box-shadow: 0 0 25px rgba(255, 152, 0, 0.6);
  text-shadow: 0 0 10px rgba(255, 152, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-coin-tails.active {
  color: #4e1b00;
  background: radial-gradient(circle at 30% 30%, #fff3e0 0%, #ffb74d 30%, #ef6c00 100%);
  border-color: #ef6c00;
  box-shadow: 0 0 30px rgba(255, 152, 0, 0.8), 0 0 50px rgba(255, 152, 0, 0.5);
  text-shadow: 0 0 10px rgba(255, 152, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vv {
  background-color: #D1EB3A;
  color: #161616;
  position: relative;
  font-size: 13px;
  padding: 1.5rem 0;
  margin-right: -30px;
}

#BetProfit {
  background-color: #EEEEEE;
  color: #545454;
  padding: 0.4rem 0;
  font-size: 26px;
  font-weight: bold;
}

.mob-menu {
  display: none;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 255, 0.2));
  border-left: 2px solid rgba(0, 212, 255, 0.5);
  height: 82px;
  padding-top: 27px;
  padding-left: 10px;
  box-shadow: -5px 0 20px rgba(0, 212, 255, 0.3);
}

/*@media (max-width: 768px) {*/
/* Фон под логотипом для десктопной версии */
.alogo {
  background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(48, 43, 99, 0.95) 100%);
  border-right: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 5px 0 20px rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.alogo:hover {
  border-right-color: rgba(0, 212, 255, 0.5);
  box-shadow: 5px 0 30px rgba(0, 212, 255, 0.4);
}

@media (max-width: 992px) {
  .chat-msg-box {
    max-height: 500px;
  }
  .alogo {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 255, 0.2));
    border-right: 2px solid rgba(0, 212, 255, 0.5);
    box-shadow: 5px 0 20px rgba(0, 212, 255, 0.3);
  }
  #bg_logo {
    display: none;
  }
  .mob-no-lps {
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
  }
  .mob-column-reverse {
    flex-direction: column-reverse!important;
  }
  .mob-mt-1 {
    margin-top: 0.5rem!important;
  }
  .mob-btn-1 {
    font-size: 12px;
    padding: 10px 16px!important;
  }
  .wug {
    /*text-align: center;*/
  }
  .wug::before {
    left: -5px;
  }
  .wug::after {
    left: 230px;
  }
  #teble-battle th, #teble-battle td, 
  #payTable th, #withdrawTable th, 
  #payTable td, #withdrawTable td 
  {
    font-size: 11px;
  }
  .btn-less::after, .btn-less.active::after {
    right: -2px;
  }
  .btn-more::after, .btn-more.active::after {
    right: -2px;
  }
  .bm-group button {
    height: 65px!important;
  }
  .vv {
    margin-right: 0px;
  }
  .form-control {
    padding: 0.375rem 0.75rem;
  }
  .p-5 {
    padding: 2rem!important;
  }
  .accordion-button {
    font-size: 18px;
  }
  ol, ul {
    padding-left: 1.2rem;
  }
  .mob-menu {
    display: block;
  }
  /*.for-mm {
    display: none;
  }*/
  .btn-group1 {
    padding: 0!important;
    margin-top: 1rem!important;
  }
  .btn-group1 a {
    padding: 6px 12px!important;
  }
  .mob-se-1 {
    padding-left: 1rem!important;
    padding-right: 1rem!important;
  }
  .mob-mb-1 {
    margin-bottom: 1rem!important;
  }
}
@media (max-width: 992px) {
  .container-xl {
    max-width: 540px;
  }
}

/* Скрываем оригинальный select */
#formSelector2, #formSelector {
  display: none;
}

/* Десктоп: сетка методов оплаты (2–3 колонки по ширине контейнера) */
.buttons-container2,
.buttons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.custom-btn {
  width: 100%;
  text-align: center;
  white-space: normal;
  padding: 8px 16px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  background: rgba(20, 20, 40, 0.6);
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.custom-btn.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(255, 0, 255, 0.3));
  color: #fff;
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.custom-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}


@media (max-width: 992px) {
  .buttons-container2,
  .buttons-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .custom-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  /* Улучшения для мобильной версии */
  .bg-color, .bg-color2 {
    border-width: 1.5px;
    border-radius: 12px;
    padding: 15px;
  }
  
  .btn-color1, .btn-color2, .btn-color3 {
    padding: 14px 20px;
    font-size: 16px;
    border-width: 2px;
  }
  
  .logo-p1 {
    font-size: 32px;
  }
  
  .nav-link {
    font-size: 16px;
    padding: 10px 15px !important;
  }
  
  .card {
    margin-bottom: 15px;
  }
  
  /* Улучшенная читаемость на мобильных */
  .form-control {
    font-size: 16px; /* Предотвращает зум на iOS */
    padding: 12px 20px;
  }
  
  /* Анимации для мобильных (упрощенные для производительности) */
  * {
    -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
  }
}

/* Дополнительные неоновые эффекты */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .bg-color, .bg-color2 {
  animation: fadeIn 0.5s ease-out;
}

/* Улучшение для кнопок Battle */
.btn-secondary.bg-color3 {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 255, 0.2)) !important;
  border: 2px solid rgba(0, 212, 255, 0.5) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4) !important;
  transition: all 0.3s ease !important;
}

.btn-secondary.bg-color3:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6) !important;
  border-color: rgba(0, 212, 255, 0.8) !important;
}

/* Улучшение для круга Battle */
.battle-roulette {
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

/* Улучшение для сообщений об успехе/ошибке */
#success_battle, #error_battle, #success_battle_desktop, #error_battle_desktop {
  border-radius: 12px;
  border: 2px solid;
  box-shadow: 0 0 20px;
  animation: fadeIn 0.3s ease-out;
  font-weight: bold !important;
  font-size: 16px !important;
  padding: 15px 20px !important;
  text-align: center;
  transition: all 0.3s ease;
}

#success_battle, #success_battle_desktop {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4),
              inset 0 0 20px rgba(0, 212, 255, 0.1);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1)) !important;
  color: #00d4ff !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

#error_battle, #error_battle_desktop {
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4),
              inset 0 0 20px rgba(255, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.1)) !important;
  color: #ff4444 !important;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

/* В мобильной версии сообщения уже находятся под кнопками Blue/Red в HTML */

/* Улучшение для модальных окон */
.modal-content.bg-color {
  border: 2px solid rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

/* Улучшение для таблиц */
.table {
  border-color: rgba(0, 212, 255, 0.3);
}

.table thead th {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Улучшение для input-group */
.input-group-text {
  background: rgba(20, 20, 40, 0.6);
  border: 2px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
}

/* Плавное появление элементов при загрузке */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.list-group-item {
  animation: slideIn 0.4s ease-out;
  animation-fill-mode: both;
}

.list-group-item:nth-child(1) { animation-delay: 0.1s; }
.list-group-item:nth-child(2) { animation-delay: 0.2s; }
.list-group-item:nth-child(3) { animation-delay: 0.3s; }
.list-group-item:nth-child(4) { animation-delay: 0.4s; }

/* ── Страница поддержки — мобильный full-screen layout ── */
@media (max-width: 992px) {
  body.ticket-page {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
  }
  body.ticket-page header .mob-menu,
  body.ticket-page header ul {
    display: none !important;
  }
  body.ticket-page #ticket-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
  body.ticket-page #ticket-content > .row {
    flex: 1;
    overflow: hidden;
    margin: 0;
  }
  body.ticket-page .col-lg-9 {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
  }
  body.ticket-page .col-lg-9 > .card {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
  }
  body.ticket-page .col-lg-9 > .card > .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem;
  }
  body.ticket-page .chat-msg-box {
    flex: 1;
    max-height: none !important;
    overflow-y: auto;
  }
  body.ticket-page form .mb-4 {
    margin-bottom: 0.5rem !important;
    margin-top: 0.5rem !important;
  }
}
