:root { --footer-h: 72px!important; } 

/* ===== КАСТОМНЫЙ SCROLLBAR С АНИМАЦИЕЙ ===== */

/* Анимация переливающегося градиента */
@keyframes scrollbarGradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Анимация пульсации при скролле */
@keyframes scrollbarPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Для WebKit браузеров (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #f5f7fa 0%,
        #c8ced6 25%,
        #b3bbc6 50%,
        #c8ced6 75%,
        #f5f7fa 100%
    );
    background-size: 100% 400%;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(215, 219, 224, 0.35);
    animation: scrollbarGradient 3s ease infinite;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #f5f7fa 0%,
        #c8ced6 25%,
        #b3bbc6 50%,
        #c8ced6 75%,
        #f5f7fa 100%
    );
    background-size: 100% 400%;
    box-shadow: 
        0 0 15px rgba(215, 219, 224, 0.55),
        0 0 25px rgba(215, 219, 224, 0.35);
    animation: scrollbarGradient 2s ease infinite, scrollbarPulse 1s ease infinite;
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #d7dbe0 50%,
        #ffffff 100%
    );
    background-size: 100% 400%;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.85),
        0 0 35px rgba(215, 219, 224, 0.5);
    animation: scrollbarGradient 1.5s ease infinite, scrollbarPulse 0.5s ease infinite;
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(215, 219, 224, 0.75) rgba(0, 0, 0, 0.25);
}

/* Горизонтальный scrollbar */
::-webkit-scrollbar-corner {
    background: transparent;
}

/* ===== СКРЫТЬ SCROLLBAR НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    * {
        scrollbar-width: none !important;
    }
}

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #14181d;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.9) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f7f9 20%, #ebedf0 50%, #d8dce2 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

#ny-snow{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  display: block;
}

.continue-button .btn-spinner{
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: -3px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* === FreeSpins overlay === */
/* === FreeSpins overlay: 3 горизонтальные рулетки === */
#fsOverlay{ position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; }
#fsOverlay, #fsOverlay * { user-select:none; }
.fs-modal{
  width: 980px; max-width: 96vw; height: auto;
  background: radial-gradient(120% 100% at 50% 0%, #13161a, #0b0d10);
  border:1px solid #24282e; border-radius:18px;
  box-shadow:0 12px 40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  padding:58px 18px 18px; position:relative; overflow:hidden;
}
.fs-head{
  position:absolute; top:0; left:0; right:0; height:54px;
  display:flex; align-items:center; justify-content:center;
  padding:0 12px; background:rgba(0,0,0,.3); backdrop-filter:blur(6px); z-index:2;
  border-bottom:1px solid #1f2228;
}
.fs-title{ font-weight:800; letter-spacing:.4px; font-size:14px; color:#e5e7eb; text-transform:uppercase; }

.fs-stack{ display:flex; flex-direction:column; gap:18px; }
.fs-row{ display:flex; flex-direction:column; gap:10px; }
.fs-row h4{ margin:0; text-align:center; font-size:13px; color:#cfd2d6; text-transform:uppercase; letter-spacing:.5px; }

.fs-viewport{
  height: 210px; /* высота окна */
  overflow:hidden; position:relative; border-radius:14px; border:1px solid #1f2228;
  background:linear-gradient(180deg,#111317,#0b0e10);
}
.fs-reel{
  position:absolute; top:50%; transform:translateY(-50%); /* выравниваем по вертикали */
  display:flex; flex-direction:row; align-items:center; gap:14px; will-change:transform;
}

.fs-card{ width: 240px; height: 200px; border-radius:18px; background:#121517; border:1px solid #262a2f;
  box-shadow:0 6px 20px rgba(0,0,0,.35); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.fs-card img{ width:100%; height:100%; object-fit:cover; display:block; }

/* затемнение краёв + вертикальная линия центра */
.fs-viewport:before, .fs-viewport:after{ content:""; position:absolute; top:0; bottom:0; width:18%; pointer-events:none; z-index:1; }
.fs-viewport:before{ left:0; background:linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.fs-viewport:after { right:0; background:linear-gradient(270deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.fs-center-line{ position:absolute; top:2px; bottom:2px; left:50%; width:0; border-left: 5px solid rgba(215, 219, 224, .45); z-index:2; transform:translateX(-1px); }

/* чтобы нельзя было кликнуть сквозь модалку */
#fsOverlay.block { pointer-events:all; }
#fsOverlay.block .fs-modal { pointer-events:auto; }


.cards.image-cards,
#slots-menu,
.main-content {
  padding-bottom: calc(var(--footer-h) + 12px); /* небольшой запас */
}

/* на всякий — запретим, чтобы футер перекрывал клики по карточкам */
.cards.image-cards { position: relative; z-index: 1; }

#slot-active.main-content {
    max-width: 100% !important;
}

.fs-info-card {
  margin-top: 12px;
  background: #15151b;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #d7dbe0;
  box-shadow: 0 0 12px rgba(215, 219, 224, 0.15);
}

.fs-info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.fs-info-icon {
    width: auto;
    height: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f7fa, #c8ced6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 12px;
}

.fs-info-title {
  font-weight: 600;
  font-size: 14px;
}

.fs-info-body {
  font-size: 13px;
  color: #ccc;
  line-height: 1.4;
}

.fs-info-line {
  margin: 6px 0;
  color: #fff;
}

/* Кнопка «Вращать» */
.fs-actions{
  display:flex; justify-content:center; margin-top:12px;
}
#fsSpinBtn{
  padding:12px 22px; border-radius:12px; border:1px solid #b7bec8;
  background:linear-gradient(180deg,#f5f7fa,#c8ced6);
  color:#0a1210; font-weight:900; text-transform:uppercase; letter-spacing:.6px;
  cursor:pointer; box-shadow:0 8px 24px rgba(215, 219, 224, .22);
}
#fsSpinBtn:disabled{
  opacity:.6; cursor:not-allowed; box-shadow:none; filter:grayscale(.2);
}

/* выигравшая карта */
.fs-card.fs-card--win{
  border-color: #d7dbe0;
  box-shadow: 0 0 0 2px rgba(215, 219, 224, 0.35), 0 10px 30px rgba(215, 219, 224, 0.18);
  transform: scale(1.03);
}


.fs-info-hint {
  font-size: 11px;
  opacity: 0.75;
}

#fsPerSpin {
  color: #f5f7fa;
  font-weight: 600;
}


.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
  text-decoration: none;
}

.badge-success {
  background-color: #198754;
}

.badge-error {
  background-color: #dc3545;
}

.slot-title{
    background: #1a1a1c;
    font-weight: 600;
    text-align: center;
    padding: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-top: -6px;
}

.bubbles-block{
	position: relative!important;
    background-color: #131217!important;
    background-size: cover!important;
    overflow: hidden!important;
}

.bubbles-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    margin: 0 auto;
    background-repeat: no-repeat;
	transition:all 0.1s ease;
	border-radius:12px;
    background-position: center;
    background-size: contain;
}

#bubbles-coeff {
    font-size: 72px;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.bubble {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#bubbles-coeff {
    font-size: 72px;
    padding: 80px;
	border-radius:12px;
	z-index:9;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.crash-back{
    width: 100%;
    border-radius: 12px;
    height: 250px;
    background: url(../images/bg-crash.png) no-repeat center center;
    background-size: cover;
}

.mode-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  font-family: inherit;
}

.mode-label {
  font-size: 14px;
  min-width: 3.2rem;
  text-align: right;
  opacity: 0.8;
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  border-radius: 999px;
  background: #e6e6e6;
  transition: .25s;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.05);
}

.slider:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  top: 4px;
  background: white;
  border-radius: 50%;
  transition: .25s;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.switch input:checked + .slider {
  background: #3b82f6;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.mode-badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
}


/* контейнер */
.live-feed{
  border-radius:16px;
  margin:12px 16px 8px;
}

.live-feed__head{
  display:flex; align-items:center; gap:8px;
  font-size:14px; font-weight:600; color:#cfd2d6;
  margin:2px 2px 10px;
}
.live-feed__dot{
  width:8px; height:8px; border-radius:50%;
  background:#f5f7fa; box-shadow:0 0 8px rgba(215, 219, 224, .55);
}

/* навигация */
.live-feed__nav{ margin-left:auto; display:flex; gap:6px; }
.live-feed__btn{
  width:28px; height:28px; line-height:26px;
  display:grid; place-items:center;
  border-radius:8px; border:1px solid #2c2c2e;
  background:#0f1212; color:#d7dbe0; font-weight:700;
}
.live-feed__btn:hover{ border-color:rgba(215, 219, 224, 0.35); }

/* горизонтальный список */
.live-feed__list{
  display:flex; gap:10px;
  overflow-x:hidden; overflow-y:hidden;
  padding-bottom:2px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.live-feed__list::-webkit-scrollbar{ height:6px; }
.live-feed__list::-webkit-scrollbar-thumb{
  background:#3a4048; border-radius:10px;
}

/* карточка — фиксированная ширина, не сжимается */
.live-item{
  flex:0 0 280px; /* ширина карточки */
  display:grid; grid-template-columns:48px 1fr auto;
  align-items:center; gap:10px;
  background:#121214;
  border:1px solid #2c2c2e;
  border-radius:12px; padding:8px;
  scroll-snap-align:start;
}
.live-item:hover{ border-color:rgba(215, 219, 224, 0.22); }

.live-item__game{
  width:48px; height:48px; object-fit:cover; border-radius:10px;
}
.live-item__info{ min-width:0; display:flex; flex-direction:column; line-height:1.15; }
.live-item__nick{ font-weight:700; color:#fff; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.live-item__desc{ color:#888; font-size:12px; margin-top:2px; }

.live-item__amount{
  display:flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px;
  background:linear-gradient(135deg,#0f1a14,#0b261a);
  border:1px solid rgba(215, 219, 224, 0.35); color:#f5f7fa; font-weight:800; font-size:14px;
  box-shadow:0 0 12px rgba(215, 219, 224, .12) inset, 0 0 8px rgba(215, 219, 224, .1);
}
.live-item__amount img{ display:block; }

/* компактнее на узких экранах */
@media (max-width:360px){
  .live-item{ flex-basis:250px; grid-template-columns:44px 1fr auto; }
  .live-item__game{ width:44px; height:44px; }
}

#slots-provider {
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(30, 30, 30, 0.9); /* тёмный фон */
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  outline: none;
  appearance: none;       /* убираем системную стрелку */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

#slots-provider option {
  background-color: #1a1a1a; /* тёмный фон у опций */
  color: #fff;
  padding: 6px 10px;
  font-size: 14px;
}

/* При наведении на option (в некоторых браузерах работает) */
#slots-provider option:hover {
  background-color: #333;
}

/* Для Firefox, чтобы при открытии дропдауна фон оставался тёмным */
#slots-provider:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #fff;
}


#slots-menu { position: relative; }

#slot { width: 100%; height: 75svh; border: 0; display: block; }

#slot.__pseudo-fullscreen {
  position: fixed !important;
  inset: 0 !important;            /* top/right/bottom/left: 0 */
  width: 100vw !important;
  height: 100vh !important;
  border: 0;
  background: #000;               /* убрать блики фона */
  z-index: 9999;
}

/* Режим cover-скейла — убирает чёрные полосы в высоких окнах (Telegram WebApp) */
#slot.__cover-scale {
  position: fixed !important;
  /* ставим «натуральный» базовый размер, а масштаб задаём переменной */
  width: var(--base-w);
  height: var(--base-h);
  left: 50vw; top: 50vh;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center center;
  image-rendering: auto;
}

html, body { height: auto!important; margin: 0; }


/* 100% окно и запрет прокрутки, чтобы TG не «подпрыгивал» */
.__no-scroll {
  overflow: hidden !important;
  height: 100vh; /* в TG норм, см. пункт 3 для iOS */
}

/* на всякий: убираем скролл у страницы, когда в «фуллскрине» */
html.__no-scroll, body.__no-scroll { overflow: hidden !important; height: 100% !important; }

#slots-menu .slots-empty {
  grid-column: 1 / -1;      /* растянуть на всю ширину грида */
  display: flex;
  align-items: center;
  justify-content: center;  /* центр по горизонтали */
  text-align: center;
  padding: 24px;
  font-size: 16px;
  opacity: .7;
}

#slots-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
	padding-bottom:100px;
}
#slots-menu .picture-item {
    margin: 0 !important;
}
#slots-menu .picture-item a { display: block; }
#slots-menu .slot_image { width: 100%; height: 20px; border-radius: 12px; }

  /* лоадер-сентинел */
  #slots-loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 16px;
    font-size: 14px;
    opacity: .7;
  }

/* ==== ЕДИНЫЕ РАЗМЕРЫ (правь только эти 3 переменные) ==== */
/* Ограничитель ширины игры */
/* Базовое: фиксируем точные колонки вместо auto */
.tower-wrap{
  width: var(--gridW);
  margin: 0 auto;
  position: relative;
  display: grid;
  /* coef = фиксированная, поле = ровно под сетку 5x */
  grid-template-columns:
    minmax(var(--coefW), var(--coefW))
    calc((5 * var(--cell)) + (4 * var(--gap)));
  column-gap: var(--colGap);
  align-items: start;
}

/* Левая колонка коэффициентов – полностью фиксируем ширину */
.tower-coefs{
  display: grid;
  grid-auto-rows: var(--cell);
  row-gap: var(--gap);

  width: var(--coefW);
  min-width: var(--coefW);
  max-width: var(--coefW);
  box-sizing: border-box;
}

/* На всякий пожарный: сами элементы коэффициентов тоже не тянем */
.tower-coefs > *{
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap; /* чтобы текст не переносился и не распирал */
}

/* Общая ширина контейнера вычисляется ровно и не гуляет */
.tower-all{
  --cell: 68px;
  --gap: 8px;
  --coefW: 120px;
  --colGap: 16px;
  --gridW: calc(
    var(--coefW) + var(--colGap) + (5 * var(--cell)) + (4 * var(--gap))
  );
  width: var(--gridW);
  margin: 0 auto;
}
.tower-coef-item{
  font-size: 12px;
  display:flex; align-items:center; justify-content:center;
  height:auto; box-sizing:border-box;
  border:2px solid #2f2f45; border-radius:12px; background:#121215; color:#c9c9d7; font-weight:700;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;  /* длинные ×5937x не ломают ширину */
}
.tower-coef-item.active{
  border-color:#00ef7a;
  color:#00ef7a;
  background:#0f1a14;
}

/* ==== Правая часть: сетка 5×N, по центру ===== */
.tower-grid{ display:flex; flex-direction:column; gap:var(--gap); }


/* Гасим любые инлайновые margin-top у рядов */
.tower-grid .row{
  margin:0 !important; padding:0 !important;
  display:grid !important; grid-template-columns:repeat(5, var(--cell)); gap:var(--gap);
  justify-content:center; /* ряд по центру */
}

/* Чистим «бутстраповские» колонки внутри ряда */
.tower-grid .row > [class*="col-"], .tower-grid .mob-block-tower{
  margin:0 !important; padding:0 !important; width:auto !important; max-width:none !important; flex:none !important;
}

/* Клетка Tower — точный квадрат (с учётом рамки) */
.towerbtn{
  box-sizing:border-box; width:var(--cell); height:var(--cell);
  padding:0 !important; display:flex; align-items:center; justify-content:center;
  background:#1a1a1c; border:2px solid #2f2f45; border-radius:8px; overflow:hidden;
  transition:border-color .2s, background .2s;
}
.towerbtn:hover{ border-color:#00ef7a; }

/* Адаптив (опционально) */
@media (max-width: 480px){
  .tower-all{ --cell:60px; --gap:6px; --coefW:110px; --colGap:12px; }
}

.fit-inner {
  display: flex;
  align-items: center;      /* центр по вертикали */
  justify-content: center;  /* центр по горизонтали */
  width: 100%;
  height: 100%;
  box-sizing: border-box;

  /* чтобы текст/иконка не вылезали за границы */
  overflow: hidden;
  text-align: center;
}


.towerbtn:not(.revealed) .fit-inner { display: none !important; }

/* небольшой тюнинг изображений внутри открытой клетки */
.towerbtn.revealed img{
  display:block;
  max-width: 80%;
  max-height: 80%;
  margin:auto;
  pointer-events:none;
}


  .custom-select {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background: #1e1e2f;
    border: 2px solid #3a3a55;
    border-radius: 12px;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;

    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
  }

  /* Стилизация options (поддержка ограничена) */
  .custom-select option {
    background: #2a2a3d;
    color: #fff;
    padding: 10px;
  }

.crash-game-graph {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

/* Стиль для ракеты в углу */
.rocket-class.at-corner {
  font-size: 16px;
  opacity: 0.8;
}

/*@keyframes cornerPulse {
  0% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.1); }
  100% { transform: rotate(45deg) scale(1); }
}*/

/* Анимация полета */
@keyframes rocketFly {
  0% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(0deg) translateY(0); }
  75% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(0deg) translateY(0); }
}
.rocket-class:not(.at-corner) {
  animation: rocketFly 0.5s infinite;
}

.rocket-class {
    position: absolute;
    width: 80px; /* Уменьшим размер */
    height: 80px;
    font-size: 20px;
    transform: rotate(0deg);
    text-align: center;
    background: url(../images/rocketka.png);
    background-size: contain;
    background-repeat: no-repeat;
    line-height: 24px;
    z-index: 1000; /* Увеличим z-index */
    pointer-events: none;
    transition: all 0.2s ease-out;
    transform-origin: center;
}

.rocket-class.animated {
  animation: rocketFly 0.5s infinite;
}
.step-mine-coeff{
    font-size: 9px;
    margin-top: 2px; /* Отступ между коэффициентом и шагом */
    position: static; /* Убираем absolute, так как теперь используем flex */
    line-height: 1; /* Убираем лишний межстрочный интервал */
}

/* элементы, которые должны быть на всю ширину (например, соц. блок) */
.social-section{
  grid-column: 1 / -1;       /* занимает обе колонки */
}
        
        .bonus-header {
            text-align: center;
            margin-bottom: 24px;
        }
        
        .bonus-header h1 {
            font-size: 24px;
            margin: 0;
            color: #f5f7fa;
        }
        
        .bonus-card {
            background-color: #1a1a1c;
            border-radius: 16px;
            padding: 20px;
			width:100%;
			margin:0;
			  box-sizing: border-box;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        .bonus-card-header {
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }
        
        .bonus-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f5f7fa, #c8ced6);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-size: 18px;
        }
        
        .bonus-title {
            font-size: 18px;
            font-weight: bold;
        }
        
        .bonus-description {
            font-size: 15px;
            color: #aaa;
            margin-bottom: 16px;
            line-height: 1.4;
        }
        
        /* Ежедневный бонус */
        .daily-bonus-container {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
            margin-bottom: 16px;
        }
        
        .daily-bonus-day {
            background-color: #252528;
            border-radius: 12px;
            padding: 12px 8px;
            text-align: center;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .daily-bonus-day.active {
            background: linear-gradient(135deg, #f5f7fa, #c8ced6);
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(215, 219, 224, 0.35);
        }
        
        .daily-bonus-day.claimed {
            background: linear-gradient(135deg, #4a5568, #2d3748);
            opacity: 0.8;
        }
        
        .bonus-day-number {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 6px;
        }
        
        .bonus-day-amount {
            font-size: 12px;
            color: #f5f7fa;
            font-weight: bold;
        }
        
        .daily-bonus-day.claimed .bonus-day-amount {
            color: #ccc;
        }
        
        .bonus-day-check {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #d7dbe0;
            color: #000;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        
        .claim-button {
            width: 100%;
            background: linear-gradient(135deg, #f5f7fa, #c8ced6);
            color: #000;
            border: none;
            padding: 14px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .claim-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(215, 219, 224, 0.22);
        }
        
        .claim-button:disabled {
            background: #2d3748;
            color: #718096;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        /* Промокоды */
        .promo-input-container {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
        }
        
        .promo-input {
            flex: 1;
            background-color: #252528;
            border: 1px solid #2d3748;
            color: white;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 14px;
            outline: none;
        }
        
        .promo-input:focus {
            border-color: #d7dbe0;
        }
        
        .promo-button {
            background: linear-gradient(135deg, #f5f7fa, #c8ced6);
            color: #000;
            border: none;
            padding: 5px 3px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            white-space: nowrap;
        }
        
        .promo-history {
            margin-top: 16px;
        }
        
        .promo-history-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }
        
        .promo-history-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #252528;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 8px;
        }
        
        .promo-code {
            font-weight: bold;
            font-size: 14px;
        }
        
        .promo-status {
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 20px;
        }
        
        .status-success {
            background-color: #0f5132;
            color: #75b798;
        }
        
        .status-error {
            background-color: #842029;
            color: #ea868f;
        }
        
        .status-pending {
            background-color: #664d03;
            color: #ffda6a;
        }
        
        /* Другие бонусы */
        .other-bonuses {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        
        .other-bonus {
            background-color: #252528;
            border-radius: 12px;
            padding: 16px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .other-bonus:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .other-bonus-icon {
            font-size: 24px;
            color: #d7dbe0;
            margin-bottom: 8px;
        }
        
        .other-bonus-title {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 4px;
        }
        
        .other-bonus-amount {
            font-size: 12px;
            color: #d7dbe0;
        }
        
        /* Анимации */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }

#crHist{
	display: flex;
    gap: 5px;
	margin-top: -10px;
    max-width: 100%;
    overflow-y: hidden;
}

#crHist::-webkit-scrollbar {
    height: 4px;
}
#crHist::-webkit-scrollbar-track {
    background: transparent;
}
#crHist::-webkit-scrollbar-thumb {
    background: #1a1a1c;
    border-radius: 2px;
}

#bubblesHist{
	display: flex;
    gap: 5px;
	margin-top: -10px;
    max-width: 100%;
    overflow-y: hidden;
}

#bubblesHist::-webkit-scrollbar {
    height: 4px;
}
#bubblesHist::-webkit-scrollbar-track {
    background: transparent;
}
#bubblesHist::-webkit-scrollbar-thumb {
    background: #1a1a1c;
    border-radius: 2px;
}

.hist-crash{
   color:#fff;
   font-weight:600;
   padding:4px;
   border-radius:12px
}
 
.hist-bubbles{
   color:#fff;
   font-weight:600;
   padding:4px;
   border-radius:12px
} 

.carousel {
    position: relative;
    width: 100%;
    max-width: 550px; /* ограничиваем ширину по реальному размеру картинки */
    aspect-ratio: 400 / 200; /* сохраняем пропорции */
    overflow: hidden;
    border-radius: 12px;
    margin: 0 auto; /* центрируем на странице */
}

.carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.carousel-slide {
    flex: 0 0 100%;
}

.carousel-slide img {
    width: 100%;   /* растягиваем по ширине контейнера */
    height: 100%;  /* высота будет по aspect-ratio контейнера */
    object-fit: contain; /* обрезаем лишнее, сохраняем пропорции */
    display: block;
}
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    z-index: 10;
  }
  .carousel-btn.prev { left: 12px; }
  .carousel-btn.next { right: 12px; }

.carousel-indicators {
  position: relative;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.indicator {
  width: 8px;   /* уменьшено с 12px */
  height: 8px;  /* уменьшено с 12px */
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: white;
}
  
       #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.9) 0%, transparent 60%),
                linear-gradient(180deg, #ffffff 0%, #f6f7f9 20%, #ebedf0 50%, #d8dce2 100%);
            background-attachment: fixed;
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.5s ease;
        }
        
        .preloader-content {
            text-align: center;
        }
        
        .preloader-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(215, 219, 224, 0.45);
            border-top-color: #aeb5bf;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        .preloader-text {
            color: #14181d;
            font-size: 18px;
            margin-top: 15px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
		
.minesweeper-content {
  padding: 16px;
  color: white;
  max-width: 414px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
}

.fair-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #d7dbe0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d7dbe0;
    font-size: 18px;
}



/* Шапка игры */
.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

  .multiplier-buttons {
    display: flex;
    gap: 10px;
  }

  .multiplier-buttons .btn {
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
  }

  .multiplier-buttons .x2 { background-color: #444; }
  .multiplier-buttons .x3 { background-color: #d4a017; }
  .multiplier-buttons .x5 { background-color: #d32f2f; }
  .multiplier-buttons .x50 { background-color: #4caf50; }

  .multiplier-buttons .btn:hover {
    opacity: 0.85;
  }
  
   .bets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 450px;
  }
  


@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}  

  .bet-card {
    background-color: #1c1c1c;
    border-radius: 12px;
    padding: 12px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .bet-title {
    font-weight: bold;
    font-size: 1.1em;
  }
  
  #status-x50{
    position: absolute;
    left: 50%;
	color: #888;
	    font-family: monospace;
	font-size: 20px;
	text-align: center;
    backface-visibility: hidden;
    will-change: transform;
	white-space: nowrap;
    top: 65%;
    transform: translate(-50%, -50%);
    margin-top: 10px;  
  }

  /* Цвета заголовков */
  .x2 .bet-title { color: #888; }
  .x3 .bet-title { color: #d4a017; }
  .x5 .bet-title { color: #d32f2f; }
  .x50 .bet-title { color: #4caf50; }

  .bet-value {
    font-size: 1.4em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .icon {
    font-size: 0.8em;
    opacity: 0.8;
  }

  .bet-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .bet-item {
    display: flex;
    justify-content: space-between;
    background-color: #2a2a2a;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.9em;
    color: #ccc;
  }

  .no-bets {
    color: #888;
	text-align: center;
    font-size: 0.9em;
  } 

        /* Абсолютное позиционирование сообщения ПОВЕРХ сетки */
        .win-popup {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 240px;
            background: radial-gradient(circle at center, #0e4f18 0%, #072b0c 100%);
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            z-index: 100;
        }

        .win-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 5px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .win-multiplier {
            font-size: 24px;
            font-weight: bold;
            margin: 10px 0;
        }

        .win-amount {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 10px;
        }


.line-x50 {
	width: 4px;
	margin: 0 2px;
	cursor: pointer;
	border-radius: 2px;
}

.nickname-x50{
    display: inline-block;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle; 
}

.x2-color {
	background: #323537;
	height: 18px;
}

.x3-color {
	background: #da9a00;
	height: 24px;
}

.x5-color {
	background: #d83c33;
	height: 30px;
}

.x50-color {
	background: #50b251;
	height: 36px;
}

.x50-history{
	align-items: flex-end;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.deposit-amount-input {
  display: flex;
  align-items: center;
  position: relative;
}

.amount-input {
  width: 100%;
  padding-right: 70px; /* место для кнопок */
}

.input-buttons {
  position: absolute;
  right: 5px;
  margin-top: -25px;
  display: flex;
  gap: 4px;
}

.input-btn {
  padding: 8px 16px;
  font-size: 16px!important;
  border: none;
  background: #444!important;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.input-btn:hover {
  background: #666;
}

.fa-spinner {
  animation: rotate 1s linear infinite;
}

  .scroll-container {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
  }
  .scroll-container::-webkit-scrollbar {
    display: none;
  }
  .coef {
    position: relative; /* Оставляем relative для позиционирования span */
    display: flex;
    flex-direction: column; /* Размещаем элементы вертикально */
    align-items: center; /* Центрируем по горизонтали */
    justify-content: center; /* Центрируем по вертикали */
    min-width: 80px;
    height: 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: #0a0909;
    border: 2px solid #3d2c2c;
    opacity: 0.5;
    transition: 0.2s;
    text-align: center; /* Центрируем текст */
    padding: 0 5px; /* Добавляем немного padding по бокам */
  }
  .coef.active {
    background: #0a0909;
    border: 2px solid #d7dbe0;
    color: #d7dbe0;
    opacity: 1;
  }
  .bomby {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: black;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-right: 6px;
  }
  .coef-content {
    display: flex;
    align-items: center;
    gap: 5px;
  }

.wheel-container{
	justify-content: center;
    max-width: 100%;
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
}

    .range-wrapper {
      position: relative;
      width: 300px;
      background: #1b1b1b;
      border-radius: 12px;
      padding: 40px 20px 30px;
      box-shadow: 0 0 10px rgba(215, 219, 224, 0.18);
      text-align: center;
    }

    .range-label {
      font-size: 14px;
      color: #888;
      margin-bottom: 12px;
    }

    input[type="range"] {
      -webkit-appearance: none;
      width: 100%;
      height: 8px;
      background: #2b2b2b;
      border-radius: 10px;
      outline: none;
      position: relative;
      z-index: 2;
    }

    /* Track */
    input[type="range"]::-webkit-slider-runnable-track {
      background: linear-gradient(to right, #f5f7fa, #b7bec8);
      height: 8px;
      border-radius: 10px;
    }

    input[type="range"]::-moz-range-track {
      background: linear-gradient(to right, #f5f7fa, #b7bec8);
      height: 8px;
      border-radius: 10px;
    }

    /* Thumb */
    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 20px;
      height: 20px;
      background: #d7dbe0;
      border: none;
      border-radius: 50%;
      box-shadow: 0 0 10px rgba(215, 219, 224, 0.35);
      margin-top: -6px; /* ← поднять выше, чтобы было по центру */
      cursor: pointer;
      position: relative;
      z-index: 3;
    }

    input[type="range"]::-moz-range-thumb {
      width: 20px;
      height: 20px;
      background: #d7dbe0;
      border: none;
      border-radius: 50%;
      box-shadow: 0 0 10px rgba(215, 219, 224, 0.35);
      cursor: pointer;
    }

    .tooltip {
      position: absolute;
      bottom: 18px;
      background-color: #1f1f1f;
      color: #d7dbe0;
      padding: 4px 8px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: bold;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.2s ease;
      z-index: 5;
      border: 1px solid #b7bec8;
      box-shadow: 0 0 8px rgba(215, 219, 224, 0.22);
      transform: translateX(-50%);
	  
	}
	
	
.game-time {
  font-size: 14px;
  color: #888;
}

.game-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  flex-grow: 1;
}

.game-balance {
  display: flex;
  align-items: center;
  gap: 6px;
}

.balance-icon {
  color: #d7dbe0;
  font-weight: bold;
}

.balance-text {
  font-size: 14px;
}

/* Основной контент игры */
.mines-game {
  background-color: #1a1a1c;
  border-radius: 16px;
  padding: 20px;
}

.game-subtitle {
  font-size: 18px;
  text-align: center;
  margin: 0 0 8px 0;
  color: #888;
}

.game-multiplier {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: #d7dbe0;
  margin-bottom: 20px;
}

/* Строка множителей */
.multipliers-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.multiplier-box {
  background-color: #252528;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
}

/* Блок ставки */
.bet-section {
  margin-bottom: 24px;
}

.bet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bet-title {
  font-size: 16px;
  font-weight: bold;
}

.bet-step {
  font-size: 14px;
  color: #888;
}

.bet-input {
  background-color: #252528;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.input-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.amount-input-container {
  display: flex;
  align-items: center;
}

.amount-input {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  padding: 8px 0;
  outline: none;
}

.multiplier-display {
  color: #d7dbe0;
  font-size: 24px;
  font-weight: bold;
  margin-left: 12px;
}

.quick-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.quick-amount {
  flex: 1;
  background-color: #252528;
  border: none;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

/* Блок мин */
.mines-section {
  margin-bottom: 24px;
}

.mines-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

.game-container {
  text-align: center;
}

.multipliers {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.multiplier {
  background-color: #1e2d1b;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: bold;
  color: #0ff260;
}

.multiplier.selected {
  background-color: #0f1d10;
  color: #aaffaa;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 60px);
  grid-template-rows: repeat(5, 60px);
  gap: 5px;
}

.cell {
    width: 60px;
    height: 60px;
    border-radius: 10px;
	cursor:pointer;
    background-color: #080a0b !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.w-tile {
  background: url(../images/tile-mine.png?v=2);
  background-size: cover;  
  position: relative;
}

.justify-content-center{
  justify-content:center;
}

.w-tile::after {
  content: "";
  font-weight: bold;
  font-size: 24px;
  color: #fff;
}

.gem {
  position: relative;
  background: url(../images/gem-mine.png?v=2);
  background-size: cover;  
}

.gem::after {
  content: "";
  font-size: 24px;
}

.bomb {
  background-color: #2e1f10;
  background: url(../images/bomb-mine.png?v=2);
  background-size: cover;
  position: relative;
}

.bomb::after {
  content: "";
  font-size: 24px;
}

.mines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mine-option {
  background-color: #252528;
  border-radius: 8px;
  padding: 16px 8px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

.mine-option:hover {
  background-color: #2e2e32;
}

/* Кнопка ставки */
.place-bet-button {
  width: 100%;
  background-color: #d7dbe0;
  color: #000;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* Убираем стрелки у числового ввода */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}		

button, input, textarea, select {
  font-family: 'Montserrat', sans-serif;
}

.history-content {
  padding: 16px;
  color: white;
  max-width: 414px;
  margin: 0 auto;
}

.history-header h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.history-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 4px;
}

.history-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: #888;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
}

.history-tab.active {
  background-color: #d7dbe0;
  color: #000;
  font-weight: bold;
}

.history-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.filter-button {
  padding: 8px 12px;
  background-color: #1a1a1c;
  border: none;
  color: #888;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-button.active {
  background-color: #d7dbe0;
  color: #000;
  font-weight: bold;
}

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transaction-day {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.transaction-day.active {
  display: flex;
}

.transaction-item {
  display: flex;
  align-items: center;
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 12px 16px;
  gap: 12px;
}

.transaction-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.transaction-item.success .transaction-icon {
  color: #d7dbe0;
}

.transaction-item.failed .transaction-icon {
  color: #ff4444;
}

.transaction-item.pending .transaction-icon {
  color: #ffcc00;
}

.transaction-info {
  flex: 1;
}

.transaction-type {
  font-size: 14px;
  font-weight: 500;
}

.transaction-date {
  font-size: 12px;
  color: #888;
}

.transaction-amount {
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.transaction-amount.positive {
  color: #d7dbe0;
}

.transaction-amount.negative {
  color: #ff4444;
}

.transaction-cancel {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.transaction-cancel:hover {
  color: #ff4444;
}

.betting-content {
  padding: 16px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 414px;
  margin: 0 auto;
}

button:disabled{
	    opacity: 0.5;
}

/* Панель множителя */
.multiplier-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.dice-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dice-icon {
  font-size: 24px;
}

.multiplier-info {
  display: flex;
  flex-direction: column;
}

.multiplier-value {
  font-size: 18px;
  font-weight: bold;
  color: #d7dbe0;
}

.multiplier-label {
  font-size: 12px;
  color: #888;
}

.bet-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.bet-amount, .win-amount {
  font-size: 14px;
}

.bet-label, .win-label {
  color: #888;
  margin-right: 6px;
}

.bet-value {
  color: white;
}

.win-value {
  color: #d7dbe0;
  font-weight: bold;
}

/* Остальные стили (как в предыдущем примере) */
.betting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.betting-header h1 {
  font-size: 20px;
  margin: 0;
}

.betting-step {
  font-size: 14px;
  color: #888;
}

.betting-input-section {
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 16px;
}

.input-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.amount-input-container {
  display: flex;
  align-items: center;
}

.amount-input {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  padding: 8px 0;
  outline: none;
}

.currency-symbol {
  font-size: 24px;
  font-weight: bold;
  margin-left: 8px;
}

.quick-buttons {
    display: flex;
    flex-wrap: nowrap; /* Не переносить кнопки */
    gap: 8px;
    overflow-x: auto; /* Включает скролл на маленьких экранах */
    padding-bottom: 4px;
}

.quick-amount {
    background-color: #1a1a1c;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto; /* Не расширяться, а сохранить размеры */
}

.outcome-section {
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 16px;
  margin-top: 8px;
}

.outcome-section h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 12px;
}

.outcome-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.outcome-option {
  background-color: #252528;
  border: none;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.outcome-option.big {
  font-size: 16px;
  padding: 16px;
  grid-column: span 2;
}

.number-bets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  grid-column: span 2;
  margin-top: 8px;
}

.number-bet {
    background-color: #252528;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-align: center;
}

/* Стили для активных кнопок */
.outcome-option.active,
.number-bet.active {
  background-color: #d7dbe0;
  color: #000;
  font-weight: bold;
}

.place-bet-button {
  width: 100%;
  background-color: #d7dbe0;
  color: #000;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 16px;
}
.wallet-new {
  display: flex;
  align-items: center;
  background-color: #1a1a1c;
  padding: 2px 4px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(215, 219, 224, 0.12);
  gap: 10px;
}

.wallet-icon {
  width: 40px;
  height: 40px;
  border: 2px solid #d7dbe0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d7dbe0;
  font-size: 18px;
}

.profile-new {
  display: flex;
  align-items: center;
  background-color: #1a1a1c;
  padding: 2px 4px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(215, 219, 224, 0.12);
  gap: 10px;
}

.profile-text {
  font-size: 12px;
  color: #888;
  text-align: right;
}

.profile-text strong {
  color: #ffffff;
  font-size: 16px;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border: 2px solid #d7dbe0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d7dbe0;
  font-size: 18px;
}

  /* Скрываем содержимое по умолчанию */
  .collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }

  /* Открытое содержимое */
  .expanded {
    max-height: 500px; /* достаточно большое значение */
    opacity: 1;
    pointer-events: auto;
  }
  
  #collapsible-content {
    overflow: hidden;
    max-height: 30px; /* высота при свёрнутом виде */
    opacity: 0.5;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  #collapsible-content.expanded {
    max-height: 1000px; /* достаточно большое значение для раскрытия */
    opacity: 1;
  }

.toggle-arrow,
.toggle-arrow * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* CSS */
/* Нижнее меню с Liquid Glass эффектом */
.btb {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 400px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 72px;
  padding: 0 8px;
  padding-bottom: 8px;
  /* LIQUID GLASS ЭФФЕКТ */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(245, 247, 250, 0.65) 100%);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 1px 0 1px rgba(255, 255, 255, 0.6),
    inset -1px 0 1px rgba(255, 255, 255, 0.6);
}

/* Светящаяся линия сверху */
.btb:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.08) 75%, transparent);
  border-radius: 1px;
}

/* Кнопки меню */
.btb-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  color: #6b7280;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

.btb-item:hover {
  color: #374151;
}

.btb-item--active {
  color: #111827;
  position: relative;
}

.btb-item--active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: #6b7280;
  box-shadow: 0 0 8px rgba(107, 114, 128, 0.45);
  animation: btb-line-in 0.25s ease-out forwards;
}

@keyframes btb-line-in {
  0% {
    width: 0;
    opacity: 0;
  }
  to {
    width: 16px;
    opacity: 1;
  }
}

.btb-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 24px;
}

.btb-item__label {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Логотип в центре */
.btb-item--logo {
  gap: 0;
}

.btb-item--active.btb-item--logo:after {
  display: none;
}

.btb-item__logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  opacity: 1;
  transition: color 0.25s ease;
  color: #9baac3b8;
}

.btb-item--logo:hover .btb-item__logo {
  color: #dce6f5cc;
}

.btb-item--active.btb-item--logo .btb-item__logo {
  color: #fff;
}

/* Для десктопа */
@media (min-width: 768px) {
  .btb {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 40px), 520px);
    max-width: 520px;
    height: 94px;
    padding: 0 12px;
    padding-bottom: 10px;
    border-radius: 26px;
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.5),
      0 4px 12px rgba(0, 0, 0, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.12),
      inset 1px 0 1px rgba(255, 255, 255, 0.06),
      inset -1px 0 1px rgba(255, 255, 255, 0.06);
  }
  .btb-item {
    gap: 6px;
  }
  .btb-item__label {
    font-size: 10px;
  }
  .btb-item__logo {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 380px) {
  .btb-item__label {
    font-size: 9px;
  }
}

/* Модалка */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
	padding-right: 15px;
    padding-left: 15px;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease forwards;
}

.modal-dialog {
    max-width: 500px;
    width: 100%;
    transform: translateY(-20px);
    opacity: 0;
    animation: slideUp 0.3s ease forwards;
}

.modal-content {
    background: #1a1a1d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    border: 1px solid #2c2c2e;
}

/* header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #2c2c2e;
    background: #121214;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    font-size: 22px;
    cursor: pointer;
    color: #bbb;
    transition: color 0.2s ease;
}
.modal-close:hover {
    color: #fff;
}

/* body */
.modal-body {
    padding: 18px;
}

.form-group {
    margin-bottom: 14px;
}

/* footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 18px;
    border-top: 1px solid #2c2c2e;
    background: #121214;
}

/* Анимации */
@keyframes fadeIn {
    from { background: rgba(0, 0, 0, 0); }
    to { background: rgba(0, 0, 0, 0.65); }
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toggle-arrow {
  cursor: pointer;
  font-size: 20px;
  text-align: center;
  margin-top: 5px;
  transition: transform 0.3s ease;
}

.toggle-arrow:focus,
.toggle-arrow:active {
  outline: none;
}


  .toggle-arrow.rotated {
    transform: rotate(180deg);
  }

.logo-image{
  width:105px
}

.wallet-text {
  font-size: 14px;
  color: #888;
}

.wallet-text strong {
  color: #ffffff;
  font-size: 18px;
}


.image-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px;
}

.card-image {
  width: 100%;
  height: 200px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}


.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  max-width: 100%;
  margin: 0 auto;
  background-color: #151a20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.top-bar .wallet, .top-bar .profile {
  background-color: #1c2128;
  padding: 10px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  font-size: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
}

.top-bar .icon {
  margin-right: 8px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #d7dbe0;
  font-family: 'Comic Sans MS', cursive;
}

/* ====== Ranks page ====== */
#ranks { padding: 16px; }

.ranks-head h1{
  margin: 0 0 12px 0;
  font-size: 22px;
  text-align: center;
}

.rank-progress{
  background:#1a1a1c;
  border:1px solid #2c2c2e;
  border-radius:14px;
  padding:12px;
  margin-bottom:16px;
}

.rp-top{
  display:flex; align-items:center; justify-content:space-between;
  font-size:13px; color:#cfd2d6;
  margin-bottom:8px;
}
.rp-amount b{ color:#fff; }

.rp-bar{
  height:10px; border-radius:999px; background:#101112; border:1px solid #24262b;
  overflow:hidden; position:relative;
}
.rp-fill{
  height:100%;
  background:linear-gradient(90deg,#d7dbe0,#aeb5bf);
  width:0%;
  box-shadow:0 0 10px rgba(215, 219, 224, 0.35) inset;
}

.rp-badges{
  display:flex; align-items:center; gap:6px;
  margin-top:8px; font-size:12px; color:#9aa0a6;
}
.rp-badge{
  padding:4px 8px; border-radius:999px; background:#0f1212; border:1px solid #2c2c2e; color:#e5e7eb; font-weight:600;
}
.rp-badge.next{ border-color:#d7dbe0; color:#f5f7fa; }
.rp-arrow{ opacity:.6; }

/* grid 2×N */
.ranks-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

/* карточка ранга */
.rank-card{
  background:#131317;
  border:1px solid #26262b;
  border-radius:16px;
  overflow:hidden;
}
.rank-card .rc-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px;
  font-weight:700;
  border-bottom:1px solid #22232a;
}
.rank-card .rc-tier{ font-size:13px; letter-spacing:.5px; }
.rank-card .rc-tag{
  font-size:11px; color:#cfd2d6; background:#0f1212; border:1px solid #2c2c2e; border-radius:999px; padding:4px 8px;
}

.rank-card .rc-body{ padding:12px; }

.rc-kpi{
  display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:8px;
}
.kpi-num{ display:block; font-weight:800; font-size:18px; color:#fff; }
.kpi-label{ display:block; font-size:11px; color:#9aa0a6; margin-top:2px; }

.rc-perks{
  list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; font-size:12.5px; color:#d1d5db;
}
.rc-perks li{
  position:relative; padding-left:18px;
}
.rc-perks li:before{
  content:"✔"; position:absolute; left:0; top:0; color:#d7dbe0; font-size:12px;
}

/* цветовые акценты каждого ранга */
.rc-rookie .rc-head{ background:linear-gradient(90deg,#191a1f,#20222a); }
.rc-bronze .rc-head{ background:linear-gradient(90deg,#2a1c14,#3a281d); }
.rc-silver .rc-head{ background:linear-gradient(90deg,#20242b,#2d323b); }
.rc-gold .rc-head{ background:linear-gradient(135deg, #4a3b0c, #f7ef8a); }
.rc-diamond .rc-head{ background:linear-gradient(90deg,#123135,#164149); }
.rc-legend .rc-head{ background:linear-gradient(90deg,#3b0f2e,#4a123a); }

/* акцент цвета для названий */
.rc-bronze .rc-tier{ color:#d0935a; }
.rc-silver .rc-tier{ color:#cfd8e3; }
.rc-gold .rc-tier{ color:#ffff00; }
.rc-diamond .rc-tier{ color:#7de8ff; }
.rc-legend .rc-tier{ color:#ff76c8; }
.rc-rookie .rc-tier{ color:#9aa0a6; }

/* адаптивчик */
@media (max-width:360px){
  .ranks-grid{ gap:10px; }
  .rank-card .rc-head{ padding:10px; }
  .rank-card .rc-body{ padding:10px; }
}

.rank-card.rc-active { box-shadow: 0 0 0 2px rgba(215, 219, 224, 0.3), 0 8px 24px rgba(0,0,0,.45); }

/* ===== Inline rank badge ===== */
.rank-inline{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin:10px 0 16px;
}
.rank-line{
  display:flex; align-items:center; gap:8px; margin:0; font-size:16px;
}
.rank-line__icon{ font-size:18px; }
.rank-line__label{ color:#cfd2d6; font-weight:600; }

.rank-chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; border-radius:999px;
  border:1px solid #2c2c2e; background:#111215;
  font-weight:800; letter-spacing:.2px; text-transform:uppercase;
  font-size:12px; line-height:1;
  box-shadow:0 1px 0 rgba(255,255,255,0.04) inset;
}

/* цветовые темы под ключ ранга */
.rank-chip.rc-rookie  { color:#9aa0a6; }
.rank-chip.rc-bronze  { color:#d0935a; border-color:#5a402b; background:linear-gradient(90deg,#1d140e,#26170f); }
.rank-chip.rc-silver  { color:#dfe7f2; border-color:#3a404a; background:linear-gradient(90deg,#1a1e24,#21262e); }
.rank-chip.rc-gold    { color:#ffd666; border-color:#5b4721; background:linear-gradient(135deg, #634f0e, #ffee1b); }
.rank-chip.rc-diamond { color:#7de8ff; border-color:#1b3b42; background:linear-gradient(90deg,#0f1f22,#12282d); }
.rank-chip.rc-legend  { color:#ff76c8; border-color:#4a123a; background:linear-gradient(90deg,#220a1a,#2e0d22); }

.rank-link{
  font-size:12.5px; padding:6px 10px; border:1px solid #2c2c2e; border-radius:10px;
  color:#e5e7eb; background:#0f1212; text-decoration:none;
}
.rank-link:hover{ border-color:rgba(215, 219, 224, 0.35); box-shadow:0 0 0 2px rgba(215, 219, 224, 0.12) inset; }


/* === main-content (всё твоё + минимальные правки) === */
.main-content {
    max-width: 414px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
	padding-bottom: 110px!important;
    top: 90px;
    bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
    box-sizing: border-box;

    overflow: auto;
    -webkit-overflow-scrolling: touch;

    background-size: cover;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}


.main-content.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Для неактивных страниц - убираем за пределы экрана */
.main-content:not(.active) {
  transform: translateX(-100vw);
  pointer-events: none;
}

.deposit-content {
  padding: 16px;
}

.deposit-header {
  text-align: center;
  margin-bottom: 24px;
}

.deposit-header h1 {
  font-size: 24px;
  margin: 0;
}

.deposit-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.deposit-tab {
  flex: 1;
  padding: 12px;
  background-color: #1a1a1c;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
}

.deposit-tab.active {
  background-color: #d7dbe0;
  color: #000;
}

.deposit-amount {
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.deposit-amount-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.deposit-amount-value {
  font-size: 24px;
  font-weight: bold;
}

.quick-amounts {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.quick-amount {
  background-color: #1a1a1c;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  flex: 1;
  min-width: 60px;
}

.wallet-amount {
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.wallet-amount-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.wallet-amount-value {
  font-size: 18px;
}

.deposit-footer {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-button {
  background-color: transparent;
  border: 1px solid #d7dbe0;
  color: #d7dbe0;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

        .payment-methods {
            margin-bottom: 24px;
            position: relative; /* Для позиционирования выпадающего списка */
        }
        .payment-methods-label {
            font-size: 14px;
            color: #888;
            margin-bottom: 8px;
        }
        .payment-method {
            display: flex;
            align-items: center;
            background-color: #1a1a1c;
            border-radius: 12px;
            padding: 16px;
            cursor: pointer; /* Меняем курсор при наведении */
        }
        .payment-method-icon {
            width: 40px;
            height: 40px;
            border: 2px solid #d7dbe0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #d7dbe0;
            font-size: 18px;
            margin-right: 16px;
        }
        .payment-method-name {
            flex: 1;
            font-size: 16px;
        }
        .payment-method-arrow {
            color: #888;
            transition: transform 0.3s ease; /* Плавная анимация стрелки */
        }

        /* Стили для выпадающего списка */
        .payment-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: #1a1a1c;
            border-radius: 12px;
            margin-top: 4px;
            overflow: hidden;
            display: none; /* Скрываем по умолчанию */
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Добавляем тень для эффекта "всплытия" */
        }
        .payment-dropdown-option {
            display: flex;
            align-items: center;
            padding: 16px;
            cursor: pointer;
            transition: background-color 0.2s ease; /* Плавное изменение фона при наведении */
        }
        .payment-dropdown-option:hover {
            background-color: #252528; /* Подсветка при наведении */
        }
        .payment-dropdown-option .payment-method-icon {
            border-color: #888; /* Серый цвет иконок в выпадающем списке */
            color: #888;
        }
        .payment-dropdown-option.active .payment-method-icon {
            border-color: #d7dbe0;
            color: #d7dbe0;
        }

        /* Логика отображения выпадающего списка */
        .payment-methods.active .payment-dropdown {
            display: block; /* Показываем выпадающий список при активации */
        }
        .payment-methods.active .payment-method-arrow {
            transform: rotate(90deg); /* Поворачиваем стрелку при открытии */
        }

.continue-button {
  width: 100%;
  background-color: #d7dbe0;
  color: #000;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

        .paymentw-methods {
            margin-bottom: 24px;
            position: relative; /* Для позиционирования выпадающего списка */
        }
        .paymentw-methods-label {
            font-size: 14px;
            color: #888;
            margin-bottom: 8px;
        }
        .paymentw-method {
            display: flex;
            align-items: center;
            background-color: #1a1a1c;
            border-radius: 12px;
            padding: 16px;
            cursor: pointer; /* Меняем курсор при наведении */
        }
        .paymentw-method-icon {
            width: 40px;
            height: 40px;
            border: 2px solid #d7dbe0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #d7dbe0;
            font-size: 18px;
            margin-right: 16px;
        }
        .paymentw-method-name {
            flex: 1;
            font-size: 16px;
        }
        .paymentw-method-arrow {
            color: #888;
            transition: transform 0.3s ease; /* Плавная анимация стрелки */
        }

        /* Стили для выпадающего списка */
        .paymentw-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: #1a1a1c;
            border-radius: 12px;
            margin-top: 4px;
            overflow: hidden;
            display: none; /* Скрываем по умолчанию */
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Добавляем тень для эффекта "всплытия" */
        }
        .paymentw-dropdown-option {
            display: flex;
            align-items: center;
            padding: 16px;
            cursor: pointer;
            transition: background-color 0.2s ease; /* Плавное изменение фона при наведении */
        }
        .paymentw-dropdown-option:hover {
            background-color: #252528; /* Подсветка при наведении */
        }
        .paymentw-dropdown-option .paymentw-method-icon {
            border-color: #888; /* Серый цвет иконок в выпадающем списке */
            color: #888;
        }
        .paymentw-dropdown-option.active .paymentw-method-icon {
            border-color: #d7dbe0;
            color: #d7dbe0;
        }

        /* Логика отображения выпадающего списка */
        .paymentw-methods.active .paymentw-dropdown {
            display: block; /* Показываем выпадающий список при активации */
        }
        .paymentw-methods.active .paymentw-method-arrow {
            transform: rotate(90deg); /* Поворачиваем стрелку при открытии */
        }

.bankw-methods {
    margin-bottom: 24px;
    position: relative;
}
.bankw-methods-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}
.bankw-method {
    display: flex;
    align-items: center;
    background-color: #1a1a1c;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
}
.bankw-method-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #d7dbe0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d7dbe0;
    font-size: 18px;
    margin-right: 16px;
}
.bankw-method-name {
    flex: 1;
    font-size: 16px;
}
.bankw-method-arrow {
    color: #888;
    transition: transform 0.3s ease;
}

.transaction-system {
    margin-top: 5px;
}

.system-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.system-cryptobot {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.system-sbp {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.transaction-details {
    margin-top: 3px;
    font-size: 12px;
    color: #666;
    word-break: break-all;
}

/* Стили для выпадающего списка банков */
.bankw-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1c;
    border-radius: 12px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: scroll;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.bankw-dropdown-option {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.bankw-dropdown-option:hover {
    background-color: #252528;
}
.bankw-dropdown-option .bankw-method-icon {
    border-color: #888;
    color: #888;
}
.bankw-dropdown-option.active .bankw-method-icon {
    border-color: #d7dbe0;
    color: #d7dbe0;
}

/* Логика отображения выпадающего списка */
.bankw-methods.active .bankw-dropdown {
    display: block;
}
.bankw-methods.active .bankw-method-arrow {
    transform: rotate(90deg);
}

.deposit-amount-input {
  display: flex;
  align-items: center;
  position: relative;
}

.currency-symbol {
  font-size: 24px;
  font-weight: bold;
  margin-right: 8px;
  color: white;
}

.amount-input {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  padding: 0;
  outline: none;
}

/* Убираем стрелки у input type number */
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-input {
  -moz-appearance: textfield;
}

.bonus-banner {
  margin: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0c402e, #1a5e42);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.profile-content {
  padding: 16px;
  color: white;
}

.profile-header h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.balance-section {
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.balance-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.balance-value {
  font-size: 24px;
  font-weight: bold;
}

.profile-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.profile-tab {
  flex: 1;
  padding: 12px;
  background-color: #1a1a1c;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
}

.profile-tab.active {
  background-color: #d7dbe0;
  color: #000;
}

.withdraw-requirement {
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.requirement-text {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.requirement-value {
  font-size: 18px;
  font-weight: bold;
}

.referral-section {
  background-color: #1a1a1c;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.referral-section h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 16px;
}

.referral-stats {
  margin-bottom: 16px;
}

.referral-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-size: 14px;
  color: #888;
}

.stat-value {
  font-size: 16px;
  font-weight: bold;
}

.referral-description {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 16px;
  line-height: 1.4;
}

.referral-link-container {
  margin-bottom: 16px;
}

.referral-link-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.referral-link-box {
  display: flex;
  align-items: center;
  background-color: #252528;
  border-radius: 8px;
  padding: 12px;
}

.referral-icon {
  color: #d7dbe0;
  margin-right: 12px;
  font-size: 18px;
}

.referral-link {
  flex: 1;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.referral-copy {
  color: #d7dbe0;
  font-size: 18px;
  margin-left: 12px;
}

.referral-button {
  width: 100%;
  background-color: #d7dbe0;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.social-section {
  margin-bottom: 16px;
}

.social-section h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.social-buttons {
  display: flex;
  gap: 8px;
}

.social-button {
  flex: 1;
text-align: center;
    text-decoration: none;  
  background-color: #1a1a1c;
  border: none;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}

.promo-section h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.promo-input-container {
  display: flex;
  gap: 8px;
}

/* Odometer fix: hide "8" spacers + correct layout */
.odometer { display: inline-block; position: relative; vertical-align: middle; }
.odometer-inside { display: inline-block; }
.odometer-digit { display: inline-block; position: relative; vertical-align: middle; }
.odometer-digit-spacer { visibility: hidden; }
.odometer-digit-inner {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
}
.odometer-ribbon { display: block; }
.odometer-ribbon-inner { display: block; }
.odometer-value { display: block; }


.promo-input {
  flex: 1;
  background-color: #1a1a1c;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.promo-button {
  background-color: #d7dbe0;
  color: #000;
  border: none;
  padding: 5px 3px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.bonus-banner h1 {
  font-size: 24px;
  margin: 0;
}

.bonus-banner p {
  margin-top: 8px;
  font-size: 14px;
  color: #8a9199;
}

.bonus-banner button {
  margin-top: 16px;
  background-color: #d7dbe0;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px;
}

.card {
  background-color: #1a1a1c;
  border-radius: 20px;
  padding: 16px;
  color: white;
  position: relative;
  overflow: hidden;
}

.card h3 {
  margin-top: 0;
  font-size: 16px;
}

.card p {
  color: #aaa;
  font-size: 12px;
}

.tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  background-color: #d7dbe0;
  color: #000;
  border-radius: 8px;
  font-size: 10px;
}

.odometer.odometer-auto-theme,
.odometer.odometer-theme-default,
.odometer.odometer-auto-theme *,
.odometer.odometer-theme-default * {
  font-family: "Montserrat", sans-serif !important;
}


/* ===== МОБИЛЬНОЕ МАСШТАБИРОВАНИЕ ДЛЯ TELEGRAM MINI APP ===== */
@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
    
    body {
        font-size: 12px;
    }

    .top-bar {
        height: auto !important;
        padding: 10px 12px !important;
        gap: 10px;
    }

    .logo-image {
        height: 55px !important;
        width: auto !important;
    }
    
    .wallet-new {
        font-size: 11px !important;
    }
    
    .wallet-text {
        font-size: 10px !important;
    }
    
    .card-image {
        aspect-ratio: 16 / 9;
    }
    
    .carousel-slide img {
        height: 200px !important;
    }
    
    .section-title {
        font-size: 20px !important;
        margin: 10px 0 !important;
    }
    
    .btn {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
    
    .place-bet-button {
        font-size: 12px !important;
        padding: 10px 15px !important;
    }
    
    .deposit-amount-label {
        font-size: 11px !important;
    }
    
    .amount-input {
        font-size: 12px !important;
        padding: 8px !important;
    }
    
    .quick-buttons button {
        font-size: 10px !important;
        padding: 6px 8px !important;
    }
    
    .multiplier-buttons button {
        font-size: 11px !important;
        padding: 8px !important;
    }
    
    .bet-card {
        font-size: 11px !important;
    }
    
    .towerbtn {
        width: 30px !important;
        height: 30px !important;
        font-size: 10px !important;
    }
    
    .tower-coefs {
        font-size: 10px !important;
    }
    
    .number-bet {
        font-size: 11px !important;
        padding: 6px !important;
    }
    
    .outcome-option {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    
    .modal-content {
        font-size: 12px !important;
    }
    
    .modal-header {
        font-size: 14px !important;
    }
    
    .input-btn {
        font-size: 9px !important;
        padding: 4px 6px !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 11px;
    }

    .top-bar {
        height: auto !important;
        padding: 8px 10px !important;
        gap: 8px;
    }

    .logo-image {
        height: 45px !important;
    }
    
    .card-image {
        aspect-ratio: 16 / 9;
    }
    
    .carousel-slide img {
        height: 180px !important;
    }
    
    .btn {
        font-size: 10px !important;
        padding: 6px 10px !important;
    }
    
    .place-bet-button {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
}


/* ===== НОВЫЙ ДИЗАЙН БОНУСОВ ===== */
#bonuses {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.prp-header {
    margin-bottom: 24px;
    animation: fadeInUp 0.3s ease;
}

.prp-header__top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.prp-header__back {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-header__back:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-2px);
}

.prp-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Cards Grid */
.prp-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prp-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    animation: fadeInUp 0.3s ease;
    transition: all 0.3s;
}

.prp-card:hover {
    border-color: rgba(215, 219, 224, 0.25);
    box-shadow: 0 8px 32px rgba(215, 219, 224, 0.12);
}

.prp-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.prp-card__head i {
    font-size: 20px;
    color: #d7dbe0;
}

.prp-card__head h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.prp-card__hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Promo Card */
.prp-promo {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.prp-promo__input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s;
}

.prp-promo__input:focus {
    outline: none;
    border-color: #d7dbe0;
    box-shadow: 0 0 0 3px rgba(215, 219, 224, 0.12);
}

.prp-promo__submit {
    background: linear-gradient(135deg, #f5f7fa 0%, #c8ced6 100%);
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    color: #101418;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.prp-promo__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215, 219, 224, 0.22);
}

.prp-promo__submit:active {
    transform: translateY(0);
}

/* Новая полноширинная кнопка активации */
.prp-promo__submit-full {
    width: 100%;
    background: rgba(215, 219, 224, 0.12);
    border: 1px solid rgba(215, 219, 224, 0.25);
    border-radius: 10px;
    padding: 20px 20px;
    color: #d7dbe0;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.prp-promo__submit-full:hover {
    background: rgba(215, 219, 224, 0.18);
    transform: translateY(-1px);
}

.prp-promo__submit-full:active {
    transform: translateY(0);
}

.prp-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 12px;
}

.prp-message--success {
    background: rgba(215, 219, 224, 0.12);
    border: 1px solid rgba(215, 219, 224, 0.25);
    color: #d7dbe0;
}

.prp-message--error {
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

/* Referral Card */
.prp-ref {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prp-ref-main__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.prp-ref__icon {
    width: 40px;
    height: 40px;
    background: rgba(215, 219, 224, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d7dbe0;
    font-size: 20px;
}

.prp-ref-main__head h2 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.prp-ref__cta {
    background: rgba(215, 219, 224, 0.12);
    border: 1px solid rgba(215, 219, 224, 0.25);
    border-radius: 10px;
    padding: 8px 16px;
    color: #d7dbe0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-ref__cta:hover {
    background: rgba(215, 219, 224, 0.18);
    transform: translateY(-1px);
}

.prp-ref__note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.prp-ref-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.prp-ref-insight {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
}

.prp-ref-insight__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.prp-ref-insight__head i {
    font-size: 16px;
    color: #d7dbe0;
}

.prp-ref-insight__head h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.prp-ref-insight__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.prp-ref-insight__schedule {
    display: inline-block;
    background: rgba(215, 219, 224, 0.1);
    border-radius: 6px;
    padding: 4px 8px;
    color: #d7dbe0;
    font-size: 12px;
    font-weight: 500;
}

/* Gifts Grid */
.prp-gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.prp-gift-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.prp-gift-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    background: rgba(215, 219, 224, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d7dbe0;
    font-size: 24px;
}

.prp-gift-card__type {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.prp-gift-card__amount {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.prp-gift-card__claim {
    background: linear-gradient(135deg, #f5f7fa 0%, #c8ced6 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    color: #101418;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-gift-card__claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(215, 219, 224, 0.22);
}

.prp-gift-card__claim:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Daily Bonus */
.prp-hint-wrap {
    position: relative;
    margin-left: auto;
}

.prp-hint-btn {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-hint-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prp-hint-popover {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 300px;
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.prp-hint-popover__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
}

.prp-hint-popover__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.prp-hint-popover__close {
    width: 100%;
    background: rgba(215, 219, 224, 0.12);
    border: 1px solid rgba(215, 219, 224, 0.25);
    border-radius: 8px;
    padding: 8px;
    color: #d7dbe0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-hint-popover__close:hover {
    background: rgba(215, 219, 224, 0.18);
}

.prp-daily-claim {
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c8ced6 100%);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: #101418;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-daily-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(215, 219, 224, 0.26);
}

.prp-daily-claim:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* History */
.prp-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prp-history__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
}

.prp-history__icon {
    width: 40px;
    height: 40px;
    background: rgba(215, 219, 224, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d7dbe0;
    font-size: 18px;
}

.prp-history__body {
    flex: 1;
}

.prp-history__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.prp-history__type {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.prp-history__amount {
    color: #d7dbe0;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prp-history__date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.prp-empty {
    text-align: center;
    padding: 40px 20px;
}

.prp-empty__title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.prp-empty__hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Pagination */
.prp-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.prp-pagination__size {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prp-pagination__label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.prp-pagination__size-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-pagination__size-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.prp-pagination__size-btn--active {
    background: rgba(215, 219, 224, 0.12);
    border-color: rgba(215, 219, 224, 0.25);
    color: #d7dbe0;
}

.prp-pagination__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prp-pagination__info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.prp-pagination__btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.prp-pagination__btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.prp-pagination__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .prp-bonus-wrapper {
        padding: 16px;
    }
    
    .prp-title {
        font-size: 24px;
    }
    
    .prp-card {
        padding: 20px;
    }
    
    .prp-ref-insights {
        grid-template-columns: 1fr;
    }
    
    .prp-gifts-grid {
        grid-template-columns: 1fr;
    }
    
    .prp-hint-popover {
        width: 280px;
    }
    
    .prp-pagination {
        flex-direction: column;
        gap: 12px;
    }
}


/* ===== СТИЛИ ДЛЯ ПРОФИЛЯ ===== */

/* Секция профиля пользователя - БЕЗ ПЛАШКИ */
.profile-user-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: transparent; /* Убрали фон */
    border: none; /* Убрали рамку */
    border-radius: 0;
    margin-bottom: 16px;
    text-align: center;
}

/* Аватар в шапке */
.header-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d7dbe0;
    box-shadow: 0 0 12px rgba(215, 219, 224, 0.22);
    cursor: pointer;
    flex-shrink: 0;
}

.header-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: none;
}

/* Обёртка аватара - ОСТАВЛЯЕМ ЗЕЛЕНЫЙ КРУГ */
.profile-avatar-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d7dbe0; /* Металлический круг */
    box-shadow: 0 0 20px rgba(215, 219, 224, 0.22);
}

/* Аватар изображение */
.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Плейсхолдер аватара */
.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: none;
}

/* Информация о пользователе */
.profile-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Имя пользователя */
.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* Username */
.profile-username {
    font-size: 14px;
    color: #9baac3;
    font-weight: 500;
}

/* Баланс секция - ДИЗАЙН ИЗ МАКЕТА */
.balance-section {
    margin-bottom: 19px;
    position: relative;
    overflow: hidden;
    border-radius: 19px;
    border: 1px solid rgba(112, 127, 142, 0.17);
    background: radial-gradient(circle at 76% 52%, rgba(215, 219, 224, 0.12), transparent 35%),
                radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.06), transparent 42%),
                linear-gradient(90deg, rgba(14, 18, 22, 0.98), rgba(10, 13, 16, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03),
                0 18px 30px rgba(0, 0, 0, 0.32),
                0 0 0 1px rgba(5, 10, 14, 0.9);
    backdrop-filter: blur(14px);
    padding: 18px 20px;
    transition: all 0.3s ease;
}

/* Hover эффект как в промокодах */
.balance-section:hover {
    border-color: rgba(215, 219, 224, 0.25);
    box-shadow: 0 8px 32px rgba(215, 219, 224, 0.12);
}

.balance-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.balance-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.balance-label {
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    color: rgba(142, 151, 164, 0.88);
    letter-spacing: -0.01em;
}

.balance-value-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.balance-value {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    color: #d7dbe0;
    letter-spacing: -0.045em;
}

.balance-icon-coin {
    width: 20px;
    height: 20px;
    color: #d7dbe0;
    filter: drop-shadow(0 0 5px rgba(215, 219, 224, 0.18));
}

.balance-subvalue {
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    color: rgba(111, 120, 133, 0.88);
    letter-spacing: -0.02em;
}

.balance-actions {
    display: flex;
    gap: 9px;
    padding-top: 14px;
}

.balance-action-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.075);
    color: rgba(162, 171, 181, 0.86);
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.balance-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #f5f7fa;
    transform: scale(1.1);
}

/* Кнопка пополнения - зеленая только при hover */
.balance-action-btn.primary {
    background: rgba(255, 255, 255, 0.075);
    color: rgba(162, 171, 181, 0.86);
    box-shadow: none;
}

.balance-action-btn.primary:hover {
    background: linear-gradient(180deg, rgba(245, 247, 250, 0.98), rgba(200, 206, 214, 0.82));
    color: #14181d;
    box-shadow: none;
    transform: scale(1.1);
}

.balance-action-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    filter: none;
}

/* ===================================
   RANK PROGRESS BAR - React Style
   =================================== */

.rank-inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #1a1d21, #0d0f13);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.rank-inline:hover {
    border-color: #8a9199;
    box-shadow: 0 0 20px rgba(138, 145, 153, 0.25);
}

/* Верхняя часть с иконкой, названием и процентами */
.pp-rank__top {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Иконка медали */
.pp-rank__badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #333639;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a9199;
    flex-shrink: 0;
    margin-left: -173px;
}

.pp-rank__badge svg {
    width: 30px;
    height: 30px;
}

/* Информация о ранге */
.pp-rank__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    margin-right: auto;
}

.pp-rank__name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.pp-rank__next-label {
    font-size: 12px;
    color: #9baac3;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.pp-rank__next-label .rank-chevron {
    width: 10px;
    height: 10px;
}

/* Процент прогресса */
.pp-rank__pct {
    font-size: 20px;
    font-weight: 800;
    color: #8a9199;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: -185px;
}

/* Стрелка справа */
.pp-rank__arrow {
    width: 18px;
    height: 18px;
    color: #9baac3;
    flex-shrink: 0;
}

/* Трек прогресс-бара */
.pp-rank__track {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Заполнение прогресс-бара */
.pp-rank__fill {
    height: 100%;
    background: linear-gradient(90deg, #8a9199, rgba(138, 145, 153, 0.5));
    border-radius: 4px;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
}

/* Числа внизу (текущее значение и цель) */
.pp-rank__numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.pp-rank__current-val {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pp-rank__target-val {
    font-size: 12px;
    font-weight: 700;
    color: #8a9199;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pp-rank__current-val .icon-coin,
.pp-rank__target-val .icon-coin {
    width: 12px;
    height: 12px;
    color: #d7dbe0;
    filter: drop-shadow(0 0 5px rgba(215, 219, 224, 0.18));
}

.rank-link {
    font-size: 12px;
    color: #d7dbe0;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.rank-link:hover {
    text-decoration: underline;
}

/* Социальные сети - НОВЫЙ ДИЗАЙН */
.social-section {
    margin-bottom: 16px;
}

.social-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: linear-gradient(135deg, #1a1d21, #0d0f13);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.social-button:hover {
    border-color: #d7dbe0;
    background: rgba(215, 219, 224, 0.04);
}

.social-button i {
    font-size: 18px;
}

/* Реферальная система - УЛУЧШЕННЫЙ ДИЗАЙН */
.referral-section {
    padding: 16px;
    background: linear-gradient(135deg, #1a1d21, #0d0f13);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 16px;
}

.referral-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.referral-stats {
    margin-bottom: 12px;
}

.referral-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stat-label {
    font-size: 13px;
    color: #9baac3;
    font-weight: 500;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.referral-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #f5f7fa, #c8ced6);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.referral-button:hover {
    background: linear-gradient(135deg, #ffffff, #d7dbe0);
    transform: translateY(-1px);
}

.toggle-arrow {
    text-align: center;
    margin-top: 12px;
    cursor: pointer;
    color: #9baac3;
    transition: color 0.2s;
}

.toggle-arrow:hover {
    color: #d7dbe0;
}

.collapsed {
    display: none;
}

.referral-description {
    font-size: 13px;
    color: #9baac3;
    line-height: 1.6;
    margin-bottom: 16px;
}

.referral-link-container {
    margin-bottom: 16px;
}

.referral-link-label {
    font-size: 12px;
    color: #9baac3;
    margin-bottom: 8px;
}

.referral-link-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.referral-icon {
    color: #d7dbe0;
    font-size: 16px;
}

.referral-link {
    flex: 1;
    font-size: 12px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.referral-copy {
    color: #d7dbe0;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}

.referral-copy:hover {
    color: #f5f7fa;
}

.collapsed {
    display: none;
}

.expanded {
    display: block;
}

.toggle-arrow {
    text-align: center;
    margin-top: 12px;
    cursor: pointer;
    color: #9baac3;
    transition: color 0.2s, transform 0.3s;
}

.toggle-arrow:hover {
    color: #d7dbe0;
}

.toggle-arrow.rotated {
    transform: rotate(180deg);
}

/* Десктоп */
@media (min-width: 768px) {
    .profile-user-section {
        padding: 32px 24px;
    }
    
    .profile-avatar-wrap {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    .social-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== HOVER ЭФФЕКТ ДЛЯ КАРТОЧЕК ИГР ===== */
.cards.image-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
}

.card-image, .live-game {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
}

.card-image {
    display: block;
    outline: 3px solid rgba(215, 219, 224, 0);
    outline-offset: 0px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                outline-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover эффект для карточек */
.card-image:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
}

/* Для live-game контейнера - НЕ применяем трансформацию, чтобы не было двойного увеличения */
.live-game:hover {
    /* Только brightness, без transform */
    filter: brightness(1.1);
}

/* Трансформация для изображения внутри live-game */
.live-game:hover .card-image {
    transform: translateY(-2px) scale(1.02);
}

/* Обводка через outline - только для изображений */
.card-image:hover {
    outline-color: rgba(215, 219, 224, 0.45);
}

/* НЕ добавляем outline для .live-game контейнера - только трансформация */

/* Для live-game контейнера */
.live-game {
    position: relative;
    display: block;
    line-height: 0;
}

.live-game img {
    width: 100%;
    display: block;
    border-radius: 12px;
    vertical-align: top;
}

/* Touch эффект для мобильных */
.card-image:active, .live-game:active {
    transform: translateY(-4px) scale(0.98);
    transition: all 0.1s ease;
}

/* Адаптив для больших экранов */
@media (min-width: 768px) {
    .cards.image-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .cards.image-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ===== КНОПКА ПОДДЕРЖКИ В ПРОФИЛЕ ===== */
.support-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    background: #1a1a1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-button:hover {
    border-color: rgba(215, 219, 224, 0.25);
    box-shadow: 0 8px 32px rgba(215, 219, 224, 0.12);
    transform: translateY(-2px);
}

.support-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f7fa, #c8ced6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000;
    flex-shrink: 0;
}

.support-text {
    flex: 1;
}

.support-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.support-text p {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.support-arrow {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.support-button:hover .support-arrow {
    color: #d7dbe0;
    transform: translateX(4px);
}

/* ===== STAGGERED ANIMATION ДЛЯ ПЕРЕКЛЮЧЕНИЯ СТРАНИЦ ===== */
.main-content {
    transition: none;
}

.main-content.active {
    animation: none;
}

/* Плавное появление элементов */
.main-content.active > * {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Убираем анимацию для нижнего меню */
.main-content.active > .btb {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* ===== КНОПКА БАЛАНСА С ИКОНКОЙ КОШЕЛЬКА ===== */

/* CSS переменные */
:root {
    --color-bg-card: #1c2128;
    --color-border: #2a3038;
    --color-accent: #d7dbe0;
    --color-text: #ffffff;
}

/* Кнопка баланса */
.app-header__balance {
    display: flex;
    align-items: center;
    gap: clamp(7.4px, 2.78vw, 13px);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 11.2px clamp(14.8px, 4.64vw, 22.2px) 11.2px 7.4px;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(215, 219, 224, 0.06) 100%);
    border: 1px solid var(--color-border);
    border-radius: 17.1px;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

/* Эффект свечения справа */
.app-header__balance:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(215, 219, 224, 0.06) 100%);
    pointer-events: none;
}

/* Ховер эффект */
.app-header__balance:hover {
    border-color: rgba(215, 219, 224, 0.32);
    box-shadow: 0 0 16px rgba(215, 219, 224, 0.1);
}

/* Иконка кошелька */
.app-header__balance-wallet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-accent);
    color: #000;
    flex-shrink: 0;
}

.app-header__balance-wallet svg {
    width: 22px;
    height: 22px;
}

/* Сумма баланса */
.app-header__balance-amount {
    font-size: clamp(14.3px, 4.29vw, 20px);
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5.7px;
    font-variant-numeric: tabular-nums;
    min-width: 0;
    overflow: hidden;
}

/* Число баланса */
.app-header__balance-number {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: 1;
}

/* Иконка монеты */
.app-header__coin {
    width: 22.9px;
    height: 22.9px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

/* АДАПТИВНЫЕ СТИЛИ */

/* Для экранов до 430px */
@media (max-width: 430px) {
    .app-header__balance {
        padding: 9.2px 18.6px 9.2px 5.6px;
        gap: 9.2px;
        border-radius: 14.3px;
    }

    .app-header__balance-wallet {
        width: 36px;
        height: 36px;
        border-radius: 8.6px;
    }

    .app-header__balance-wallet svg {
        width: 20px;
        height: 20px;
    }

    .app-header__balance-amount {
        font-size: 15.7px;
    }

    .app-header__coin {
        width: 20px;
        height: 20px;
    }
}

/* Для экранов до 380px */
@media (max-width: 380px) {
    .app-header__balance {
        padding: 7.4px 14.8px 7.4px 5.6px;
        gap: 7.4px;
        border-radius: 12.9px;
    }

    .app-header__balance-wallet {
        width: 32px;
        height: 32px;
        border-radius: 7.1px;
    }

    .app-header__balance-wallet svg {
        width: 18px;
        height: 18px;
    }

    .app-header__balance-amount {
        font-size: 14.3px;
    }

    .app-header__coin {
        width: 18.6px;
        height: 18.6px;
    }
}

/* Для десктопа */
.layout--desktop .app-header__balance {
    padding: 13px 26px 13px 9.2px;
}

.layout--desktop .app-header__balance-amount {
    font-size: 21.4px;
}
