:root {
  --bg: #070a0f;
  --glass: rgba(18, 24, 34, 0.8);
  --glass-border: rgba(255, 255, 255, 0.09);
  --text: #f3f7fc;
  --muted: #8a97a8;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --call: #00f5d4;
  --call-bg: rgba(0, 245, 212, 0.13);
  --put: #ff2a5f;
  --put-bg: rgba(255, 42, 95, 0.14);
  --warn: #f59e0b;
  --warn-bg: rgba(245, 158, 11, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 14px 14px 88px;
  overflow-x: hidden;
  position: relative;
}

.cyber-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(7, 10, 15, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.app {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.9px;
}

.brand-title .accent {
  color: var(--call);
  text-shadow: 0 0 12px rgba(0, 245, 212, 0.45);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--warn);
}

.pulse-dot.online {
  background: var(--call);
  box-shadow: 0 0 10px var(--call);
}

.top-right-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-eye-btn {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 14px;
  cursor: pointer;
}

.admin-eye-btn.active {
  background: #f59e0b;
  color: #070a0f;
}

.lang-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 16px;
  outline: none;
  cursor: pointer;
}

.lang-select option {
  background: #111620;
  color: #fff;
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 4px 10px;
  border-radius: 20px;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 36px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 16px;
}

/* ЭКРАН 2 УСЛОВИЙ */
.gate-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--call);
  background: rgba(0, 245, 212, 0.14);
  border: 1px solid rgba(0, 245, 212, 0.35);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.gate-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.gate-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.step-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.step-box.done {
  background: rgba(0, 245, 212, 0.1);
  border-color: rgba(0, 245, 212, 0.45);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-box.done .step-num {
  background: var(--call);
  border-color: var(--call);
  color: #070a0f;
}

.step-name {
  font-size: 14px;
  font-weight: 700;
}

.step-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.step-box.done .step-desc {
  color: var(--call);
}

.step-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.ref-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 11px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}

.ref-btn.primary {
  background: rgba(59, 130, 246, 0.24);
  border: 1px solid var(--accent);
  color: #fff;
}

.ref-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text);
}

.gate-progress-bar {
  width: 100%;
  height: 7px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}

.gate-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #00f5d4);
  border-radius: 6px;
  transition: width 0.35s ease;
}

/* ПЛАШКА ТОЧНОСТИ */
.winrate-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 212, 0.09);
  border: 1px solid rgba(0, 245, 212, 0.28);
  color: var(--call);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.wr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--call);
  box-shadow: 0 0 8px var(--call);
}

/* ТЕРМИНАЛ */
.pair-selector-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 12px;
}

.pair-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.flag-pair {
  display: flex;
  align-items: center;
  min-width: 38px;
}

.flag-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #161d29;
  background: #1e293b;
}

.flag-circle + .flag-circle {
  margin-left: -7px;
}

.pair-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.pair-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.pair-right-quote {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-quote-price {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--call);
}

.chevron {
  font-size: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 175px;
  background: rgba(6, 9, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

#tick-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-overlay-label {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: rgba(7, 10, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  pointer-events: none;
}

.scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), rgba(0, 245, 212, 0.5), transparent);
  border-right: 2px solid var(--call);
  animation: sweep 0.7s ease-in-out forwards;
  pointer-events: none;
}

@keyframes sweep {
  0% { left: -45%; }
  100% { left: 100%; }
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.tf-segmented {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 14px;
}

.tf-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 8px 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tf-btn.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(0, 245, 212, 0.22));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 12px rgba(59, 130, 246, 0.3);
}

.cyber-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 22px rgba(6, 182, 212, 0.35);
}

.cyber-btn:disabled,
.cyber-btn.locked {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  box-shadow: none;
  border: 1px solid var(--glass-border);
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.result-card {
  margin-top: 12px;
  animation: fadeUp 0.25s ease-out;
}

.result-card.expired {
  opacity: 0.55;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.res-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.res-asset {
  font-size: 16px;
  font-weight: 700;
}

.prob-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
}

.prob-high {
background: var(--call-bg);
color: var(--call);
border: 1px solid rgba(0, 245, 212, 0.35);
}
.prob-mid {
background: rgba(59, 130, 246, 0.16);
color: #60a5fa;
border: 1px solid rgba(96, 165, 250, 0.35);
}
.prob-low {
background: rgba(255, 255, 255, 0.06);
color: var(--muted);
}
.signal-meta-bar {
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--glass-border);
border-radius: 11px;
padding: 9px 12px;
margin-bottom: 12px;
}
.meta-item {
display: flex;
flex-direction: column;
gap: 2px;
}
.meta-item.right {
text-align: right;
}
.meta-label {
font-size: 10px;
color: var(--muted);
text-transform: uppercase;
}
.meta-val {
font-size: 14px;
font-weight: 700;
}
.timer-val {
color: var(--call);
}
.warning-banner {
background: var(--warn-bg);
border: 1px solid rgba(245, 158, 11, 0.4);
color: #fbbf24;
padding: 10px 12px;
border-radius: 11px;
font-size: 12px;
font-weight: 600;
margin-bottom: 12px;
}
.signal-hero {
padding: 16px;
border-radius: 14px;
margin-bottom: 12px;
}
.dir-call {
background: var(--call-bg);
border: 1px solid rgba(0, 245, 212, 0.35);
}
.dir-call .signal-main { color: var(--call); }
.dir-call .strength-fill { background: var(--call); }
.dir-put {
background: var(--put-bg);
border: 1px solid rgba(255, 42, 95, 0.35);
}
.dir-put .signal-main { color: var(--put); }
.dir-put .strength-fill { background: var(--put); }
.dir-neutral {
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--glass-border);
}
.dir-neutral .signal-main { color: var(--muted); }
.signal-main {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 22px;
font-weight: 800;
margin-bottom: 12px;
}
.strength-head {
display: flex;
justify-content: space-between;
font-size: 11px;
color: var(--muted);
margin-bottom: 5px;
}
.strength-bar {
width: 100%;
height: 6px;
background: rgba(0, 0, 0, 0.4);
border-radius: 6px;
overflow: hidden;
}
.strength-fill {
height: 100%;
border-radius: 6px;
transition: width 0.35s ease;
}
.res-summary {
font-size: 13px;
color: var(--muted);
line-height: 1.45;
margin-bottom: 14px;
}
.chips-wrap {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.chip {
font-size: 12px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--glass-border);
color: var(--text);
padding: 6px 10px;
border-radius: 8px;
}
/* ВКЛАДКА БОНУСЫ (РЕАЛЬНЫЕ NFT ПОДАРКИ И КАРТОЧКИ) */
.bonus-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
margin-bottom: 14px;
}
.bonus-title {
font-size: 18px;
font-weight: 800;
margin-bottom: 4px;
}
.bonus-sub {
font-size: 12px;
color: var(--muted);
line-height: 1.4;
}
.spins-badge {
background: rgba(59, 130, 246, 0.2);
border: 1px solid var(--accent);
color: #fff;
font-size: 14px;
font-weight: 800;
padding: 6px 12px;
border-radius: 12px;
white-space: nowrap;
}
.bonus-progress-wrap {
margin-bottom: 16px;
}
.roulette-viewport {
position: relative;
width: 100%;
height: 118px;
background: rgba(6, 9, 14, 0.9);
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 16px;
overflow: hidden;
margin-bottom: 14px;
}
.roulette-pointer {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 2px;
background: #fbbf24;
box-shadow: 0 0 14px #fbbf24;
z-index: 5;
transform: translateX(-50%);
}
.roulette-track {
display: flex;
align-items: center;
height: 100%;
gap: 8px;
padding-left: 8px;
will-change: transform;
}
.roulette-item {
width: 92px;
height: 98px;
flex-shrink: 0;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 13px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
padding: 6px;
}
.r-img {
width: 54px;
height: 54px;
border-radius: 10px;
object-fit: cover;
background: #0d1117;
}
.r-name {
font-size: 10px;
font-weight: 700;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}
.win-banner {
margin-top: 12px;
padding: 12px;
border-radius: 12px;
background: rgba(0, 245, 212, 0.14);
border: 1px solid rgba(0, 245, 212, 0.45);
color: var(--call);
font-size: 13px;
font-weight: 700;
text-align: center;
}
/* КАРТОЧКИ ПОДАРКОВ ПОД РУЛЕТКОЙ */
.prizes-stack {
display: flex;
flex-direction: column;
gap: 10px;
}
.nft-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
background: rgba(12, 16, 24, 0.85);
border-radius: 14px;
padding: 10px 14px 10px 10px;
border: 1.5px solid rgba(255, 255, 255, 0.1);
}
.nft-left {
display: flex;
align-items: center;
gap: 12px;
}
.nft-thumb {
width: 58px;
height: 58px;
border-radius: 12px;
object-fit: cover;
background: #090c10;
border: 1px solid rgba(255, 255, 255, 0.08);
flex-shrink: 0;
}
.nft-meta {
display: flex;
flex-direction: column;
gap: 2px;
}
.nft-rarity {
font-size: 10px;
font-weight: 800;
letter-spacing: 0.7px;
color: rgba(160, 174, 192, 0.7);
text-transform: uppercase;
}
.nft-name {
font-size: 15px;
font-weight: 800;
color: #ffffff;
}
.nft-backdrop {
font-size: 11px;
color: var(--muted);
}
.nft-value-badge {
font-size: 15px;
font-weight: 800;
color: #fff;
background: rgba(255, 255, 255, 0.07);
border: 1px solid rgba(255, 255, 255, 0.12);
padding: 6px 12px;
border-radius: 10px;
flex-shrink: 0;
}
/* ВКЛАДКА ПОДДЕРЖКИ */
.chat-box {
height: 260px;
overflow-y: auto;
background: rgba(8, 11, 16, 0.65);
border: 1px solid var(--glass-border);
border-radius: 14px;
padding: 12px;
margin: 12px 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.chat-msg {
max-width: 82%;
padding: 9px 12px;
border-radius: 12px;
font-size: 13px;
line-height: 1.4;
}
.chat-msg.user {
align-self: flex-end;
background: rgba(59, 130, 246, 0.25);
border: 1px solid rgba(59, 130, 246, 0.45);
}
.chat-msg.admin {
align-self: flex-start;
background: rgba(0, 245, 212, 0.14);
border: 1px solid rgba(0, 245, 212, 0.4);
}
.support-form {
display: flex;
gap: 8px;
}
.send-btn {
background: var(--accent);
color: #fff;
border: none;
border-radius: 12px;
width: 48px;
font-size: 18px;
cursor: pointer;
flex-shrink: 0;
}
/* НИЖНЯЯ НАВИГАЦИЯ */
.bottom-nav {
position: fixed;
left: 0;
right: 0;
bottom: 0;
max-width: 480px;
margin: 0 auto;
background: rgba(12, 16, 24, 0.94);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 8px 6px 14px;
z-index: 80;
}
.nav-btn {
background: none;
border: none;
color: var(--muted);
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
cursor: pointer;
}
.nav-btn.active {
color: var(--call);
}
.nav-icon { font-size: 18px; }
.nav-lbl { font-size: 11px; font-weight: 700; }
/* ШТОРКА ПАР */
.sheet-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(4px);
z-index: 90;
}
.bottom-sheet {
position: fixed;
left: 0;
right: 0;
bottom: 0;
max-width: 480px;
margin: 0 auto;
height: 78vh;
background: #111620;
border-top: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 22px 22px 0 0;
padding: 10px 16px 20px;
display: flex;
flex-direction: column;
z-index: 100;
}
.sheet-handle {
width: 40px;
height: 4px;
background: rgba(255, 255, 255, 0.2);
border-radius: 4px;
margin: 0 auto 12px;
}
.sheet-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.sheet-title { font-size: 17px; font-weight: 700; }
.close-sheet-btn {
background: rgba(255, 255, 255, 0.08);
border: none;
color: var(--text);
width: 30px;
height: 30px;
border-radius: 50%;
cursor: pointer;
}
.sheet-input {
width: 100%;
background: rgba(0, 0, 0, 0.35);
border: 1px solid var(--glass-border);
color: var(--text);
padding: 11px 14px;
border-radius: 12px;
font-size: 14px;
outline: none;
margin-bottom: 10px;
}
.filter-tabs {
display: flex;
gap: 6px;
margin-bottom: 10px;
overflow-x: auto;
}
.tab-btn {
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--glass-border);
color: var(--muted);
padding: 7px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
}
.tab-btn.active {
background: var(--accent);
border-color: var(--accent);
color: #fff;
}
.pairs-list {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 6px;
}
.pair-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 11px 12px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid transparent;
border-radius: 12px;
cursor: pointer;
}
.pair-row.active {
background: rgba(59, 130, 246, 0.16);
border-color: rgba(59, 130, 246, 0.45);
}
.pair-row-left { display: flex; align-items: center; gap: 10px; }
.pair-row-name { font-size: 14px; font-weight: 600; }
.fav-star {
background: none;
border: none;
font-size: 18px;
color: var(--muted);
cursor: pointer;
padding: 2px 6px;
}
.fav-star.active { color: #fbbf24; }
/* КАСТОМНЫЙ СЕЛЕКТОР ЯЗЫКОВ С КРУГЛЫМИ ФЛАГАМИ */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 16px;
  cursor: pointer;
}

.lang-flag-img {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-caret {
  font-size: 9px;
  color: var(--muted);
}

.lang-menu {
  position: absolute;
  top: 32px;
  right: 0;
  background: #111622;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 82px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
  z-index: 120;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 9px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.lang-opt:hover {
  background: rgba(59, 130, 246, 0.22);
}

/* ПЛАШКА ОБРАТНОЙ СВЯЗИ НА ЭКРАНЕ 2 УСЛОВИЙ */
.gate-feedback {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 11px;
  margin-bottom: 12px;
  text-align: center;
}

.gate-feedback.ok {
  background: rgba(0, 245, 212, 0.14);
  border-color: rgba(0, 245, 212, 0.45);
  color: var(--call);
}

/* ОБНОВЛЁННЫЕ ДЕЛОВЫЕ ЦВЕТА РЕДКОСТЕЙ NFT (GOLD / CYAN / SAPPHIRE) */
.roulette-item.legendary,
.nft-card.legendary {
  border-color: #f59e0b !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.22), inset 0 0 12px rgba(245, 158, 11, 0.1) !important;
}

.roulette-item.mythic,
.nft-card.mythic {
  border-color: #00f5d4 !important;
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.2), inset 0 0 12px rgba(0, 245, 212, 0.08) !important;
}

.roulette-item.epic,
.nft-card.epic {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.2), inset 0 0 12px rgba(59, 130, 246, 0.08) !important;
}

/* ДЕЛОВОЙ БЛОК УСЛОВИЙ БОНУСНОЙ ПРОГРАММЫ */
.terms-card {
  margin-top: 18px;
  background: rgba(8, 12, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.terms-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: #93c5fd;
  margin-bottom: 12px;
}

.term-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.term-row:last-child {
  margin-bottom: 0;
}

.term-bullet {
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--call);
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.3);
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
}

.term-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.demo-try-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 245, 212, 0.14);
  border: 1px solid rgba(0, 245, 212, 0.45);
  color: var(--call);
  border-radius: 13px;
  padding: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 14px;
}

.demo-mode-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.demo-unlock-link {
  background: #f59e0b;
  color: #070a0f;
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.relink-details {
  margin-top: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--muted);
}

.relink-details summary {
  cursor: pointer;
  color: #93c5fd;
  font-weight: 600;
}

.relink-details p {
  margin-top: 6px;
  line-height: 1.4;
}

.tf-risk-note {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.mm-hint-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 7px 12px;
  margin-bottom: 12px;
}

.mm-hint-bar strong {
  color: var(--call);
}

.bonus-right-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.my-wins-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.win-history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px;
}

.win-h-name {
  font-size: 14px;
  font-weight: 700;
}

.win-h-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.win-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.win-status-pill.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.win-status-pill.sent {
  background: rgba(0, 245, 212, 0.15);
  color: var(--call);
  border: 1px solid rgba(0, 245, 212, 0.4);
}