body {
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: 'Segoe UI', sans-serif;
  color: white;
}

.app-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 15px;
  padding-bottom: 90px;
}

.balances {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.balance-card {
  background: #111;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.balance-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-left img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.balance-text .label {
  font-size: 1rem;
  color: #ccc;
}

.balance-text .amount {
  font-size: 1.1rem;
  font-weight: bold;
}

.send-btn {
  background: #fff;
  color: #000;
  font-weight: 600;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.fan-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.fan-spin {
  width: 80vw;
  max-width: 320px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mined {
  text-align: center;
  margin-top: 12px;
}

.mined .amount {
  font-size: 2rem;
  font-weight: bold;
}

.mined .speed {
  font-size: 1.4rem;
  color: #ccc;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.action-btn {
  flex: 1 1 45%;
  padding: 14px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  max-width: 200px;
}

.menu {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #000;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 1px solid #222;
  z-index: 10;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: #ffffff;
  width: 25%;
}

.menu-item img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* 📱 Дополнительная адаптация под узкие экраны */
@media (max-width: 360px) {
  .balance-text .label,
  .balance-text .amount,
  .send-btn,
  .mined .amount,
  .mined .speed,
  .action-btn {
    font-size: 0.85rem;
  }

  .fan-spin {
    width: 90vw;
  }

  .action-btn {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .menu-item span {
    font-size: 0.75rem;
  }
}
